mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Added some more data display options
This commit is contained in:
parent
dad85e46a7
commit
aacc04520f
@ -15,13 +15,13 @@
|
|||||||
<translation>Výška</translation>
|
<translation>Výška</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/elevationgraph.cpp" line="81"/>
|
<location filename="../src/elevationgraph.cpp" line="92"/>
|
||||||
<source>km</source>
|
<source>km</source>
|
||||||
<translation>km</translation>
|
<translation>km</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/elevationgraph.cpp" line="78"/>
|
<location filename="../src/elevationgraph.cpp" line="89"/>
|
||||||
<location filename="../src/elevationgraph.cpp" line="98"/>
|
<location filename="../src/elevationgraph.cpp" line="109"/>
|
||||||
<source>m</source>
|
<source>m</source>
|
||||||
<translation>m</translation>
|
<translation>m</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -41,13 +41,13 @@
|
|||||||
<translation>Minimum</translation>
|
<translation>Minimum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/elevationgraph.cpp" line="89"/>
|
<location filename="../src/elevationgraph.cpp" line="100"/>
|
||||||
<source>mi</source>
|
<source>mi</source>
|
||||||
<translation>mi</translation>
|
<translation>mi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/elevationgraph.cpp" line="86"/>
|
<location filename="../src/elevationgraph.cpp" line="97"/>
|
||||||
<location filename="../src/elevationgraph.cpp" line="101"/>
|
<location filename="../src/elevationgraph.cpp" line="112"/>
|
||||||
<source>ft</source>
|
<source>ft</source>
|
||||||
<translation>ft</translation>
|
<translation>ft</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -163,17 +163,17 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>GUI</name>
|
<name>GUI</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="477"/>
|
<location filename="../src/gui.cpp" line="482"/>
|
||||||
<source>GPXSee is distributed under the terms of the GNU General Public License version 3. For more info about GPXSee visit the project homepage at </source>
|
<source>GPXSee is distributed under the terms of the GNU General Public License version 3. For more info about GPXSee visit the project homepage at </source>
|
||||||
<translation>Program GPXSee je distribuován pod podmínkami licence GNU General Public License verze 3. Pro více informací navštivte stránky programu na adrese </translation>
|
<translation>Program GPXSee je distribuován pod podmínkami licence GNU General Public License verze 3. Pro více informací navštivte stránky programu na adrese </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="541"/>
|
<location filename="../src/gui.cpp" line="546"/>
|
||||||
<source>Open file</source>
|
<source>Open file</source>
|
||||||
<translation>Otevřít soubor</translation>
|
<translation>Otevřít soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="617"/>
|
<location filename="../src/gui.cpp" line="622"/>
|
||||||
<source>Open POI file</source>
|
<source>Open POI file</source>
|
||||||
<translation>Otevřít POI soubor</translation>
|
<translation>Otevřít POI soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -189,8 +189,8 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="186"/>
|
<location filename="../src/gui.cpp" line="186"/>
|
||||||
<location filename="../src/gui.cpp" line="493"/>
|
<location filename="../src/gui.cpp" line="498"/>
|
||||||
<location filename="../src/gui.cpp" line="494"/>
|
<location filename="../src/gui.cpp" line="499"/>
|
||||||
<source>Keyboard controls</source>
|
<source>Keyboard controls</source>
|
||||||
<translation>Ovládací klávesy</translation>
|
<translation>Ovládací klávesy</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -205,20 +205,20 @@
|
|||||||
<translation>Znovu načíst</translation>
|
<translation>Znovu načíst</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="409"/>
|
<location filename="../src/gui.cpp" line="414"/>
|
||||||
<source>Show</source>
|
<source>Show</source>
|
||||||
<translation>Zobrazit</translation>
|
<translation>Zobrazit</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="339"/>
|
<location filename="../src/gui.cpp" line="343"/>
|
||||||
<location filename="../src/gui.cpp" line="403"/>
|
<location filename="../src/gui.cpp" line="408"/>
|
||||||
<source>File</source>
|
<source>File</source>
|
||||||
<translation>Soubor</translation>
|
<translation>Soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="184"/>
|
<location filename="../src/gui.cpp" line="184"/>
|
||||||
<location filename="../src/gui.cpp" line="516"/>
|
<location filename="../src/gui.cpp" line="521"/>
|
||||||
<location filename="../src/gui.cpp" line="517"/>
|
<location filename="../src/gui.cpp" line="522"/>
|
||||||
<source>Data sources</source>
|
<source>Data sources</source>
|
||||||
<translation>Zdroje dat</translation>
|
<translation>Zdroje dat</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -260,7 +260,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="261"/>
|
<location filename="../src/gui.cpp" line="261"/>
|
||||||
<location filename="../src/gui.cpp" line="265"/>
|
<location filename="../src/gui.cpp" line="265"/>
|
||||||
<location filename="../src/gui.cpp" line="503"/>
|
<location filename="../src/gui.cpp" line="508"/>
|
||||||
<source>Next map</source>
|
<source>Next map</source>
|
||||||
<translation>Následující mapa</translation>
|
<translation>Následující mapa</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -280,108 +280,123 @@
|
|||||||
<translation>Zobrazit navigační body</translation>
|
<translation>Zobrazit navigační body</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="290"/>
|
<location filename="../src/gui.cpp" line="284"/>
|
||||||
|
<source>Waypoint labels</source>
|
||||||
|
<translation>Názvy navigačních bodů</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/gui.cpp" line="288"/>
|
||||||
|
<source>Route Waypoints</source>
|
||||||
|
<translation>Body tras</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/gui.cpp" line="294"/>
|
||||||
<source>Show graphs</source>
|
<source>Show graphs</source>
|
||||||
<translation>Zobrazovat grafy</translation>
|
<translation>Zobrazovat grafy</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="296"/>
|
<location filename="../src/gui.cpp" line="300"/>
|
||||||
<source>Show toolbars</source>
|
<source>Show toolbars</source>
|
||||||
<translation>Zobrazovat nástrojové lišty</translation>
|
<translation>Zobrazovat nástrojové lišty</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="302"/>
|
<location filename="../src/gui.cpp" line="306"/>
|
||||||
<source>Metric</source>
|
<source>Metric</source>
|
||||||
<translation>Metrické</translation>
|
<translation>Metrické</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="307"/>
|
<location filename="../src/gui.cpp" line="311"/>
|
||||||
<source>Imperial</source>
|
<source>Imperial</source>
|
||||||
<translation>Imperiální</translation>
|
<translation>Imperiální</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="313"/>
|
<location filename="../src/gui.cpp" line="317"/>
|
||||||
<source>Fullscreen mode</source>
|
<source>Fullscreen mode</source>
|
||||||
<translation>Celoobrazovkový režim</translation>
|
<translation>Celoobrazovkový režim</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="321"/>
|
<location filename="../src/gui.cpp" line="325"/>
|
||||||
<source>Next</source>
|
<source>Next</source>
|
||||||
<translation>Následující</translation>
|
<translation>Následující</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="324"/>
|
<location filename="../src/gui.cpp" line="328"/>
|
||||||
<source>Previous</source>
|
<source>Previous</source>
|
||||||
<translation>Předchozí</translation>
|
<translation>Předchozí</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="328"/>
|
<location filename="../src/gui.cpp" line="332"/>
|
||||||
<source>Last</source>
|
<source>Last</source>
|
||||||
<translation>Poslední</translation>
|
<translation>Poslední</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="331"/>
|
<location filename="../src/gui.cpp" line="335"/>
|
||||||
<source>First</source>
|
<source>First</source>
|
||||||
<translation>První</translation>
|
<translation>První</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="353"/>
|
<location filename="../src/gui.cpp" line="357"/>
|
||||||
<source>Map</source>
|
<source>Map</source>
|
||||||
<translation>Mapa</translation>
|
<translation>Mapa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="360"/>
|
<location filename="../src/gui.cpp" line="364"/>
|
||||||
<source>POI</source>
|
<source>POI</source>
|
||||||
<translation>POI</translation>
|
<translation>POI</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="361"/>
|
<location filename="../src/gui.cpp" line="365"/>
|
||||||
<source>POI files</source>
|
<source>POI files</source>
|
||||||
<translation>POI soubory</translation>
|
<translation>POI soubory</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="372"/>
|
<location filename="../src/gui.cpp" line="376"/>
|
||||||
<source>Data</source>
|
<source>Data</source>
|
||||||
<translation>Data</translation>
|
<translation>Data</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="380"/>
|
<location filename="../src/gui.cpp" line="377"/>
|
||||||
|
<source>Display</source>
|
||||||
|
<translation>Zobrazit</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/gui.cpp" line="385"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>Nastavení</translation>
|
<translation>Nastavení</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="381"/>
|
<location filename="../src/gui.cpp" line="386"/>
|
||||||
<source>Units</source>
|
<source>Units</source>
|
||||||
<translation>Jednotky</translation>
|
<translation>Jednotky</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="390"/>
|
<location filename="../src/gui.cpp" line="395"/>
|
||||||
<source>Help</source>
|
<source>Help</source>
|
||||||
<translation>Nápověda</translation>
|
<translation>Nápověda</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="505"/>
|
<location filename="../src/gui.cpp" line="510"/>
|
||||||
<source>Previous map</source>
|
<source>Previous map</source>
|
||||||
<translation>Předchozí mapa</translation>
|
<translation>Předchozí mapa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="703"/>
|
<location filename="../src/gui.cpp" line="708"/>
|
||||||
<location filename="../src/gui.cpp" line="706"/>
|
<location filename="../src/gui.cpp" line="711"/>
|
||||||
<source>Date</source>
|
<source>Date</source>
|
||||||
<translation>Datum</translation>
|
<translation>Datum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="884"/>
|
<location filename="../src/gui.cpp" line="889"/>
|
||||||
<source>No GPX files loaded</source>
|
<source>No GPX files loaded</source>
|
||||||
<translation>Nejsou načteny žádné GPX soubory</translation>
|
<translation>Nejsou načteny žádné GPX soubory</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="496"/>
|
<location filename="../src/gui.cpp" line="501"/>
|
||||||
<source>Next file</source>
|
<source>Next file</source>
|
||||||
<translation>Následující soubor</translation>
|
<translation>Následující soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="473"/>
|
<location filename="../src/gui.cpp" line="478"/>
|
||||||
<source>Version </source>
|
<source>Version </source>
|
||||||
<translation>Verze </translation>
|
<translation>Verze </translation>
|
||||||
</message>
|
</message>
|
||||||
@ -396,133 +411,123 @@
|
|||||||
<translation>Exportovat do PDF...</translation>
|
<translation>Exportovat do PDF...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="284"/>
|
<location filename="../src/gui.cpp" line="502"/>
|
||||||
<source>Show waypoint labels</source>
|
|
||||||
<translation>Zobrazovat názvy navigačních bodů</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/gui.cpp" line="377"/>
|
|
||||||
<source>Rendering</source>
|
|
||||||
<translation>Zobrazení</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/gui.cpp" line="497"/>
|
|
||||||
<source>Previous file</source>
|
<source>Previous file</source>
|
||||||
<translation>Předchozí soubor</translation>
|
<translation>Předchozí soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="499"/>
|
<location filename="../src/gui.cpp" line="504"/>
|
||||||
<source>First file</source>
|
<source>First file</source>
|
||||||
<translation>První soubor</translation>
|
<translation>První soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="500"/>
|
<location filename="../src/gui.cpp" line="505"/>
|
||||||
<source>Last file</source>
|
<source>Last file</source>
|
||||||
<translation>Poslední soubor</translation>
|
<translation>Poslední soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="501"/>
|
<location filename="../src/gui.cpp" line="506"/>
|
||||||
<source>Append modifier</source>
|
<source>Append modifier</source>
|
||||||
<translation>Modifikátor nahradit/přidat</translation>
|
<translation>Modifikátor nahradit/přidat</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="520"/>
|
<location filename="../src/gui.cpp" line="525"/>
|
||||||
<source>Map (tiles) source URLs are read on program startup from the following file:</source>
|
<source>Map (tiles) source URLs are read on program startup from the following file:</source>
|
||||||
<translation>URL mapových zdrojů (dlaždic) jsou načteny při startu programu z následujícího souboru:</translation>
|
<translation>URL mapových zdrojů (dlaždic) jsou načteny při startu programu z následujícího souboru:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="523"/>
|
<location filename="../src/gui.cpp" line="528"/>
|
||||||
<source>The file format is one map entry per line, consisting of the map name and tiles URL delimited by a TAB character. The tile X and Y coordinates are replaced with $x and $y in the URL and the zoom level is replaced with $z. An example map file could look like:</source>
|
<source>The file format is one map entry per line, consisting of the map name and tiles URL delimited by a TAB character. The tile X and Y coordinates are replaced with $x and $y in the URL and the zoom level is replaced with $z. An example map file could look like:</source>
|
||||||
<translation>Formát souboru je jeden mapový záznam na řádku, kde mapový záznam sestává ze jména mapy a URL dlaždic navzájem oddělených tabulátorem. Souřadnice dlaždice jsou v URL nahrazeny řetězci $x a $y, úroven přiblížení (zoom) pak řetězcem $z. Příklad:</translation>
|
<translation>Formát souboru je jeden mapový záznam na řádku, kde mapový záznam sestává ze jména mapy a URL dlaždic navzájem oddělených tabulátorem. Souřadnice dlaždice jsou v URL nahrazeny řetězci $x a $y, úroven přiblížení (zoom) pak řetězcem $z. Příklad:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="531"/>
|
<location filename="../src/gui.cpp" line="536"/>
|
||||||
<source>To make GPXSee load a POI file automatically on startup, add the file to the following directory:</source>
|
<source>To make GPXSee load a POI file automatically on startup, add the file to the following directory:</source>
|
||||||
<translation>POI soubory, které se mají automaticky nahrát při startu programu jsou načítány z následujícího adresáře:</translation>
|
<translation>POI soubory, které se mají automaticky nahrát při startu programu jsou načítány z následujícího adresáře:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="542"/>
|
<location filename="../src/gui.cpp" line="547"/>
|
||||||
<source>GPX files (*.gpx);;All files (*)</source>
|
<source>GPX files (*.gpx);;All files (*)</source>
|
||||||
<translation>Soubory GPX (*.gpx);;Všechny soubory (*)</translation>
|
<translation>Soubory GPX (*.gpx);;Všechny soubory (*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="608"/>
|
<location filename="../src/gui.cpp" line="613"/>
|
||||||
<location filename="../src/gui.cpp" line="634"/>
|
<location filename="../src/gui.cpp" line="639"/>
|
||||||
<source>Line: %1</source>
|
<source>Line: %1</source>
|
||||||
<translation>Řádka: %1</translation>
|
<translation>Řádka: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="618"/>
|
<location filename="../src/gui.cpp" line="623"/>
|
||||||
<source>GPX files (*.gpx);;CSV files (*.csv);;All files (*)</source>
|
<source>GPX files (*.gpx);;CSV files (*.csv);;All files (*)</source>
|
||||||
<translation>Soubory GPX (*.gpx);;Soubory CSV (*.csv);;Všechny soubory (*)</translation>
|
<translation>Soubory GPX (*.gpx);;Soubory CSV (*.csv);;Všechny soubory (*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="709"/>
|
<location filename="../src/gui.cpp" line="714"/>
|
||||||
<source>Tracks</source>
|
<source>Tracks</source>
|
||||||
<translation>Počet tras</translation>
|
<translation>Počet tras</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="715"/>
|
<location filename="../src/gui.cpp" line="720"/>
|
||||||
<source>mi</source>
|
<source>mi</source>
|
||||||
<translation>mi</translation>
|
<translation>mi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="189"/>
|
<location filename="../src/gui.cpp" line="189"/>
|
||||||
<location filename="../src/gui.cpp" line="471"/>
|
<location filename="../src/gui.cpp" line="476"/>
|
||||||
<source>About GPXSee</source>
|
<source>About GPXSee</source>
|
||||||
<translation>O aplikaci GPXSee</translation>
|
<translation>O aplikaci GPXSee</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="413"/>
|
<location filename="../src/gui.cpp" line="418"/>
|
||||||
<source>Navigation</source>
|
<source>Navigation</source>
|
||||||
<translation>Navigace</translation>
|
<translation>Navigace</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="519"/>
|
<location filename="../src/gui.cpp" line="524"/>
|
||||||
<source>Map sources</source>
|
<source>Map sources</source>
|
||||||
<translation>Mapové zdroje</translation>
|
<translation>Mapové zdroje</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="530"/>
|
<location filename="../src/gui.cpp" line="535"/>
|
||||||
<source>POIs</source>
|
<source>POIs</source>
|
||||||
<translation>POI body</translation>
|
<translation>POI body</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="714"/>
|
<location filename="../src/gui.cpp" line="719"/>
|
||||||
<location filename="../src/gui.cpp" line="717"/>
|
<location filename="../src/gui.cpp" line="722"/>
|
||||||
<source>Distance</source>
|
<source>Distance</source>
|
||||||
<translation>Vzdálenost</translation>
|
<translation>Vzdálenost</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="722"/>
|
<location filename="../src/gui.cpp" line="727"/>
|
||||||
<source>Time</source>
|
<source>Time</source>
|
||||||
<translation>Čas</translation>
|
<translation>Čas</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="891"/>
|
<location filename="../src/gui.cpp" line="896"/>
|
||||||
<source>%1 tracks</source>
|
<source>%1 tracks</source>
|
||||||
<translation>Počet tras: %1</translation>
|
<translation>Počet tras: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="718"/>
|
<location filename="../src/gui.cpp" line="723"/>
|
||||||
<source>km</source>
|
<source>km</source>
|
||||||
<translation>km</translation>
|
<translation>km</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="610"/>
|
<location filename="../src/gui.cpp" line="615"/>
|
||||||
<location filename="../src/gui.cpp" line="635"/>
|
<location filename="../src/gui.cpp" line="640"/>
|
||||||
<source>Error</source>
|
<source>Error</source>
|
||||||
<translation>Chyba</translation>
|
<translation>Chyba</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="605"/>
|
<location filename="../src/gui.cpp" line="610"/>
|
||||||
<source>Error loading GPX file:
|
<source>Error loading GPX file:
|
||||||
%1</source>
|
%1</source>
|
||||||
<translation>Soubor GPX nelze otevřít:
|
<translation>Soubor GPX nelze otevřít:
|
||||||
%1</translation>
|
%1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="631"/>
|
<location filename="../src/gui.cpp" line="636"/>
|
||||||
<source>Error loading POI file:
|
<source>Error loading POI file:
|
||||||
%1</source>
|
%1</source>
|
||||||
<translation>Soubor POI nelze otevřít:
|
<translation>Soubor POI nelze otevřít:
|
||||||
@ -543,7 +548,7 @@
|
|||||||
<translation>Tep</translation>
|
<translation>Tep</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/heartrategraph.cpp" line="78"/>
|
<location filename="../src/heartrategraph.cpp" line="81"/>
|
||||||
<source>km</source>
|
<source>km</source>
|
||||||
<translation>km</translation>
|
<translation>km</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -563,17 +568,17 @@
|
|||||||
<translation>Maximum</translation>
|
<translation>Maximum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/heartrategraph.cpp" line="75"/>
|
<location filename="../src/heartrategraph.cpp" line="78"/>
|
||||||
<source>m</source>
|
<source>m</source>
|
||||||
<translation>m</translation>
|
<translation>m</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/heartrategraph.cpp" line="83"/>
|
<location filename="../src/heartrategraph.cpp" line="86"/>
|
||||||
<source>ft</source>
|
<source>ft</source>
|
||||||
<translation>ft</translation>
|
<translation>ft</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/heartrategraph.cpp" line="86"/>
|
<location filename="../src/heartrategraph.cpp" line="89"/>
|
||||||
<source>mi</source>
|
<source>mi</source>
|
||||||
<translation>mi</translation>
|
<translation>mi</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -640,22 +645,22 @@
|
|||||||
<translation>Rychlost</translation>
|
<translation>Rychlost</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/speedgraph.cpp" line="72"/>
|
<location filename="../src/speedgraph.cpp" line="75"/>
|
||||||
<source>m</source>
|
<source>m</source>
|
||||||
<translation>m</translation>
|
<translation>m</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/speedgraph.cpp" line="75"/>
|
<location filename="../src/speedgraph.cpp" line="78"/>
|
||||||
<source>km</source>
|
<source>km</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/speedgraph.cpp" line="80"/>
|
<location filename="../src/speedgraph.cpp" line="83"/>
|
||||||
<source>ft</source>
|
<source>ft</source>
|
||||||
<translation>ft</translation>
|
<translation>ft</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/speedgraph.cpp" line="92"/>
|
<location filename="../src/speedgraph.cpp" line="95"/>
|
||||||
<source>km/h</source>
|
<source>km/h</source>
|
||||||
<translation>km/h</translation>
|
<translation>km/h</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -670,12 +675,12 @@
|
|||||||
<translation>Maximum</translation>
|
<translation>Maximum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/speedgraph.cpp" line="83"/>
|
<location filename="../src/speedgraph.cpp" line="86"/>
|
||||||
<source>mi</source>
|
<source>mi</source>
|
||||||
<translation>mi</translation>
|
<translation>mi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/speedgraph.cpp" line="95"/>
|
<location filename="../src/speedgraph.cpp" line="98"/>
|
||||||
<source>mi/h</source>
|
<source>mi/h</source>
|
||||||
<translation>mi/h</translation>
|
<translation>mi/h</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -709,32 +714,32 @@
|
|||||||
<translation>Maximum</translation>
|
<translation>Maximum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/temperaturegraph.cpp" line="77"/>
|
<location filename="../src/temperaturegraph.cpp" line="80"/>
|
||||||
<source>m</source>
|
<source>m</source>
|
||||||
<translation>m</translation>
|
<translation>m</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/temperaturegraph.cpp" line="80"/>
|
<location filename="../src/temperaturegraph.cpp" line="83"/>
|
||||||
<source>km</source>
|
<source>km</source>
|
||||||
<translation>km</translation>
|
<translation>km</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/temperaturegraph.cpp" line="85"/>
|
<location filename="../src/temperaturegraph.cpp" line="88"/>
|
||||||
<source>ft</source>
|
<source>ft</source>
|
||||||
<translation>ft</translation>
|
<translation>ft</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/temperaturegraph.cpp" line="88"/>
|
<location filename="../src/temperaturegraph.cpp" line="91"/>
|
||||||
<source>mi</source>
|
<source>mi</source>
|
||||||
<translation>mi</translation>
|
<translation>mi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/temperaturegraph.cpp" line="97"/>
|
<location filename="../src/temperaturegraph.cpp" line="100"/>
|
||||||
<source>C</source>
|
<source>C</source>
|
||||||
<translation>C</translation>
|
<translation>C</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/temperaturegraph.cpp" line="101"/>
|
<location filename="../src/temperaturegraph.cpp" line="104"/>
|
||||||
<source>F</source>
|
<source>F</source>
|
||||||
<translation>F</translation>
|
<translation>F</translation>
|
||||||
</message>
|
</message>
|
||||||
|
19
src/gui.cpp
19
src/gui.cpp
@ -281,10 +281,14 @@ void GUI::createActions()
|
|||||||
_showWaypointsAction->setCheckable(true);
|
_showWaypointsAction->setCheckable(true);
|
||||||
connect(_showWaypointsAction, SIGNAL(triggered(bool)), _track,
|
connect(_showWaypointsAction, SIGNAL(triggered(bool)), _track,
|
||||||
SLOT(showWaypoints(bool)));
|
SLOT(showWaypoints(bool)));
|
||||||
_showWaypointLabelsAction = new QAction(tr("Show waypoint labels"), this);
|
_showWaypointLabelsAction = new QAction(tr("Waypoint labels"), this);
|
||||||
_showWaypointLabelsAction->setCheckable(true);
|
_showWaypointLabelsAction->setCheckable(true);
|
||||||
connect(_showWaypointLabelsAction, SIGNAL(triggered(bool)), _track,
|
connect(_showWaypointLabelsAction, SIGNAL(triggered(bool)), _track,
|
||||||
SLOT(showWaypointLabels(bool)));
|
SLOT(showWaypointLabels(bool)));
|
||||||
|
_showRouteWaypointsAction = new QAction(tr("Route Waypoints"), this);
|
||||||
|
_showRouteWaypointsAction->setCheckable(true);
|
||||||
|
connect(_showRouteWaypointsAction, SIGNAL(triggered(bool)), _track,
|
||||||
|
SLOT(showRouteWaypoints(bool)));
|
||||||
|
|
||||||
// Settings actions
|
// Settings actions
|
||||||
_showGraphsAction = new QAction(tr("Show graphs"), this);
|
_showGraphsAction = new QAction(tr("Show graphs"), this);
|
||||||
@ -370,12 +374,13 @@ void GUI::createMenus()
|
|||||||
poiMenu->addAction(_showPOIAction);
|
poiMenu->addAction(_showPOIAction);
|
||||||
|
|
||||||
QMenu *dataMenu = menuBar()->addMenu(tr("Data"));
|
QMenu *dataMenu = menuBar()->addMenu(tr("Data"));
|
||||||
|
QMenu *displayMenu = dataMenu->addMenu(tr("Display"));
|
||||||
|
displayMenu->addAction(_showWaypointLabelsAction);
|
||||||
|
displayMenu->addAction(_showRouteWaypointsAction);
|
||||||
|
dataMenu->addSeparator();
|
||||||
dataMenu->addAction(_showTracksAction);
|
dataMenu->addAction(_showTracksAction);
|
||||||
dataMenu->addAction(_showRoutesAction);
|
dataMenu->addAction(_showRoutesAction);
|
||||||
dataMenu->addAction(_showWaypointsAction);
|
dataMenu->addAction(_showWaypointsAction);
|
||||||
dataMenu->addSeparator();
|
|
||||||
QMenu *displayMenu = dataMenu->addMenu(tr("Rendering"));
|
|
||||||
displayMenu->addAction(_showWaypointLabelsAction);
|
|
||||||
|
|
||||||
QMenu *settingsMenu = menuBar()->addMenu(tr("Settings"));
|
QMenu *settingsMenu = menuBar()->addMenu(tr("Settings"));
|
||||||
QMenu *unitsMenu = settingsMenu->addMenu(tr("Units"));
|
QMenu *unitsMenu = settingsMenu->addMenu(tr("Units"));
|
||||||
@ -1146,6 +1151,8 @@ void GUI::writeSettings()
|
|||||||
_showWaypointsAction->isChecked());
|
_showWaypointsAction->isChecked());
|
||||||
settings.setValue(SHOW_WAYPOINT_LABELS_SETTING,
|
settings.setValue(SHOW_WAYPOINT_LABELS_SETTING,
|
||||||
_showWaypointLabelsAction->isChecked());
|
_showWaypointLabelsAction->isChecked());
|
||||||
|
settings.setValue(SHOW_ROUTE_WAYPOINTS_SETTING,
|
||||||
|
_showRouteWaypointsAction->isChecked());
|
||||||
|
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
}
|
}
|
||||||
@ -1233,6 +1240,10 @@ void GUI::readSettings()
|
|||||||
_track->showWaypointLabels(false);
|
_track->showWaypointLabels(false);
|
||||||
else
|
else
|
||||||
_showWaypointLabelsAction->setChecked(true);
|
_showWaypointLabelsAction->setChecked(true);
|
||||||
|
if (settings.value(SHOW_ROUTE_WAYPOINTS_SETTING, true).toBool() == false)
|
||||||
|
_track->showRouteWaypoints(false);
|
||||||
|
else
|
||||||
|
_showRouteWaypointsAction->setChecked(true);
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,6 +140,7 @@ private:
|
|||||||
QAction *_showRoutesAction;
|
QAction *_showRoutesAction;
|
||||||
QAction *_showWaypointsAction;
|
QAction *_showWaypointsAction;
|
||||||
QAction *_showWaypointLabelsAction;
|
QAction *_showWaypointLabelsAction;
|
||||||
|
QAction *_showRouteWaypointsAction;
|
||||||
QList<QAction*> _mapActions;
|
QList<QAction*> _mapActions;
|
||||||
QList<QAction*> _poiFilesActions;
|
QList<QAction*> _poiFilesActions;
|
||||||
|
|
||||||
|
@ -54,7 +54,6 @@ void RouteItem::setScale(qreal scale)
|
|||||||
|
|
||||||
_pen.setWidthF(ROUTE_WIDTH * 1.0/scale);
|
_pen.setWidthF(ROUTE_WIDTH * 1.0/scale);
|
||||||
QGraphicsItem::setScale(scale);
|
QGraphicsItem::setScale(scale);
|
||||||
_marker->setScale(1.0/scale);
|
|
||||||
|
|
||||||
QList<QGraphicsItem *> childs = childItems();
|
QList<QGraphicsItem *> childs = childItems();
|
||||||
for (int i = 0; i < childs.count(); i++)
|
for (int i = 0; i < childs.count(); i++)
|
||||||
@ -72,3 +71,11 @@ void RouteItem::moveMarker(qreal t)
|
|||||||
Q_ASSERT(t >= 0 && t <= 1.0);
|
Q_ASSERT(t >= 0 && t <= 1.0);
|
||||||
_marker->setPos(_path.pointAtPercent(t));
|
_marker->setPos(_path.pointAtPercent(t));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RouteItem::showWaypoints(bool show)
|
||||||
|
{
|
||||||
|
QList<QGraphicsItem *> childs = childItems();
|
||||||
|
for (int i = 0; i < childs.count(); i++)
|
||||||
|
if (childs.at(i) != _marker)
|
||||||
|
childs.at(i)->setVisible(show);
|
||||||
|
}
|
||||||
|
@ -22,6 +22,8 @@ public:
|
|||||||
void showMarker(bool show) {_marker->setVisible(show);}
|
void showMarker(bool show) {_marker->setVisible(show);}
|
||||||
void moveMarker(qreal t);
|
void moveMarker(qreal t);
|
||||||
|
|
||||||
|
void showWaypoints(bool show);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QPainterPath _path;
|
QPainterPath _path;
|
||||||
QPen _pen;
|
QPen _pen;
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#define SHOW_TRACKS_SETTING "tracks"
|
#define SHOW_TRACKS_SETTING "tracks"
|
||||||
#define SHOW_ROUTES_SETTING "routes"
|
#define SHOW_ROUTES_SETTING "routes"
|
||||||
#define SHOW_WAYPOINTS_SETTING "waypoints"
|
#define SHOW_WAYPOINTS_SETTING "waypoints"
|
||||||
|
#define SHOW_ROUTE_WAYPOINTS_SETTING "routeWaypoints"
|
||||||
#define SHOW_WAYPOINT_LABELS_SETTING "waypointLabels"
|
#define SHOW_WAYPOINT_LABELS_SETTING "waypointLabels"
|
||||||
|
|
||||||
#endif // SETTINGS_H
|
#endif // SETTINGS_H
|
||||||
|
@ -45,6 +45,7 @@ TrackView::TrackView(QWidget *parent)
|
|||||||
_showWaypointLabels = true;
|
_showWaypointLabels = true;
|
||||||
_showPOILabels = true;
|
_showPOILabels = true;
|
||||||
_overlapPOIs = true;
|
_overlapPOIs = true;
|
||||||
|
_showRouteWaypoints = true;
|
||||||
|
|
||||||
_plot = false;
|
_plot = false;
|
||||||
}
|
}
|
||||||
@ -89,6 +90,7 @@ void TrackView::addRoute(const Route &route)
|
|||||||
ri->setScale(1.0/_scale);
|
ri->setScale(1.0/_scale);
|
||||||
ri->setColor(_palette.color());
|
ri->setColor(_palette.color());
|
||||||
ri->setVisible(_showRoutes);
|
ri->setVisible(_showRoutes);
|
||||||
|
ri->showWaypoints(_showRouteWaypoints);
|
||||||
_scene->addItem(ri);
|
_scene->addItem(ri);
|
||||||
|
|
||||||
_maxPath = qMax(ri->path().length(), _maxPath);
|
_maxPath = qMax(ri->path().length(), _maxPath);
|
||||||
@ -540,6 +542,14 @@ void TrackView::showWaypointLabels(bool show)
|
|||||||
_waypoints.at(i)->showLabel(show);
|
_waypoints.at(i)->showLabel(show);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TrackView::showRouteWaypoints(bool show)
|
||||||
|
{
|
||||||
|
_showRouteWaypoints = show;
|
||||||
|
|
||||||
|
for (int i = 0; i < _routes.size(); i++)
|
||||||
|
_routes.at(i)->showWaypoints(show);
|
||||||
|
}
|
||||||
|
|
||||||
void TrackView::showPOILabels(bool show)
|
void TrackView::showPOILabels(bool show)
|
||||||
{
|
{
|
||||||
_showPOILabels = show;
|
_showPOILabels = show;
|
||||||
|
@ -52,6 +52,7 @@ public slots:
|
|||||||
void showTracks(bool show);
|
void showTracks(bool show);
|
||||||
void showRoutes(bool show);
|
void showRoutes(bool show);
|
||||||
void showWaypoints(bool show);
|
void showWaypoints(bool show);
|
||||||
|
void showRouteWaypoints(bool show);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void addTrack(const Track &track);
|
void addTrack(const Track &track);
|
||||||
@ -100,6 +101,7 @@ private:
|
|||||||
bool _showWaypointLabels;
|
bool _showWaypointLabels;
|
||||||
bool _showPOILabels;
|
bool _showPOILabels;
|
||||||
bool _overlapPOIs;
|
bool _overlapPOIs;
|
||||||
|
bool _showRouteWaypoints;
|
||||||
|
|
||||||
bool _plot;
|
bool _plot;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user