mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-12-03 16:09:08 +01:00
Compare commits
9 Commits
b1655c6348
...
69e1198efa
Author | SHA1 | Date | |
---|---|---|---|
69e1198efa | |||
059ed3aa14 | |||
|
7eba9ef39b | ||
|
1d494d26aa | ||
f258ca1a3e | |||
|
58d2d84555 | ||
|
dcf9d625ac | ||
|
47664c8cbd | ||
055b068379 |
@ -414,7 +414,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="272"/>
|
||||
<source>Clear list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Borrar la lista</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="284"/>
|
||||
@ -701,7 +701,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="631"/>
|
||||
<source>Open recent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Abierto reciente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="655"/>
|
||||
@ -1042,6 +1042,7 @@
|
||||
<translation>
|
||||
<numerusform>%n archivo</numerusform>
|
||||
<numerusform>%n archivos</numerusform>
|
||||
<numerusform>%n archivos</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -414,7 +414,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="272"/>
|
||||
<source>Clear list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Lista törlése</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="284"/>
|
||||
@ -701,7 +701,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="631"/>
|
||||
<source>Open recent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Legutóbbiak megnyitása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="655"/>
|
||||
|
@ -172,7 +172,7 @@
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="180"/>
|
||||
<source>GPSDump files</source>
|
||||
<translation>GPS-dumpfiler</translation>
|
||||
<translation>GPSDump-filer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="181"/>
|
||||
|
@ -172,7 +172,7 @@
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="180"/>
|
||||
<source>GPSDump files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>GPSDump 文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="181"/>
|
||||
@ -414,7 +414,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="272"/>
|
||||
<source>Clear list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>清空列表</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="284"/>
|
||||
@ -701,7 +701,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="631"/>
|
||||
<source>Open recent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>最近打开文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="655"/>
|
||||
|
@ -631,6 +631,7 @@ void GUI::createMenus()
|
||||
_recentFilesMenu = fileMenu->addMenu(tr("Open recent"));
|
||||
_recentFilesMenu->setIcon(QIcon::fromTheme(OPEN_RECENT_NAME,
|
||||
QIcon(OPEN_RECENT_ICON)));
|
||||
_recentFilesMenu->menuAction()->setMenuRole(QAction::NoRole);
|
||||
_recentFilesMenu->setEnabled(false);
|
||||
_recentFilesEnd = _recentFilesMenu->addSeparator();
|
||||
_recentFilesMenu->addAction(_clearRecentFilesAction);
|
||||
@ -680,6 +681,7 @@ void GUI::createMenus()
|
||||
dataMenu->addAction(_showRouteWaypointsAction);
|
||||
dataMenu->addAction(_showTicksAction);
|
||||
QMenu *markerMenu = dataMenu->addMenu(tr("Position info"));
|
||||
markerMenu->menuAction()->setMenuRole(QAction::NoRole);
|
||||
markerMenu->addAction(_hideMarkersAction);
|
||||
markerMenu->addAction(_showMarkersAction);
|
||||
markerMenu->addAction(_showMarkerDateAction);
|
||||
@ -717,13 +719,16 @@ void GUI::createMenus()
|
||||
|
||||
QMenu *settingsMenu = menuBar()->addMenu(tr("&Settings"));
|
||||
QMenu *timeMenu = settingsMenu->addMenu(tr("Time"));
|
||||
timeMenu->menuAction()->setMenuRole(QAction::NoRole);
|
||||
timeMenu->addAction(_totalTimeAction);
|
||||
timeMenu->addAction(_movingTimeAction);
|
||||
QMenu *unitsMenu = settingsMenu->addMenu(tr("Units"));
|
||||
unitsMenu->menuAction()->setMenuRole(QAction::NoRole);
|
||||
unitsMenu->addAction(_metricUnitsAction);
|
||||
unitsMenu->addAction(_imperialUnitsAction);
|
||||
unitsMenu->addAction(_nauticalUnitsAction);
|
||||
QMenu *coordinatesMenu = settingsMenu->addMenu(tr("Coordinates format"));
|
||||
coordinatesMenu->menuAction()->setMenuRole(QAction::NoRole);
|
||||
coordinatesMenu->addAction(_decimalDegreesAction);
|
||||
coordinatesMenu->addAction(_degreesMinutesAction);
|
||||
coordinatesMenu->addAction(_dmsAction);
|
||||
|
@ -23,7 +23,7 @@ public:
|
||||
|
||||
const QPoint &xy() const {return _xy;}
|
||||
const QString &key() const {return _key;}
|
||||
QPixmap pixmap() const {return QPixmap::fromImage(_image);}
|
||||
const QPixmap &pixmap() const {return _pixmap;}
|
||||
|
||||
void load() {
|
||||
QByteArray z(QString::number(_zoom).toLatin1());
|
||||
@ -32,7 +32,7 @@ public:
|
||||
QImageReader reader(&buffer, z);
|
||||
if (_scaledSize)
|
||||
reader.setScaledSize(QSize(_scaledSize, _scaledSize));
|
||||
reader.read(&_image);
|
||||
_pixmap = QPixmap::fromImage(reader.read());
|
||||
}
|
||||
|
||||
private:
|
||||
@ -41,7 +41,7 @@ private:
|
||||
QPoint _xy;
|
||||
QByteArray _data;
|
||||
QString _key;
|
||||
QImage _image;
|
||||
QPixmap _pixmap;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user