mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-05 15:12:51 +02:00
Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
2cd35b139e | |||
a74afa54fd | |||
753c4e8db0 | |||
d0b3f48caf | |||
e47cd1be7e | |||
d1ba35f012 | |||
b9489afbfe | |||
a7506cfd82 | |||
c060abe6a7 | |||
b457fc430c | |||
89947851fd | |||
7d40dfddb2 | |||
151ae03b53 | |||
9fd8b84c3b | |||
47683e5447 | |||
84bcf07bd4 | |||
cc694971be | |||
ba856d7eb6 |
@ -1,4 +1,4 @@
|
||||
version: 4.13.{build}
|
||||
version: 4.14.{build}
|
||||
configuration: Release
|
||||
platform: Any CPU
|
||||
environment:
|
||||
|
@ -1,5 +1,5 @@
|
||||
TARGET = GPXSee
|
||||
VERSION = 4.13
|
||||
VERSION = 4.14
|
||||
QT += core \
|
||||
gui \
|
||||
network
|
||||
|
@ -28,47 +28,47 @@
|
||||
<context>
|
||||
<name>Data</name>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="93"/>
|
||||
<location filename="../src/data.cpp" line="102"/>
|
||||
<source>Supported files (*.csv *.fit *.gpx *.igc *.kml *.nmea *.tcx)</source>
|
||||
<translation>Podporované soubory (*.csv *.fit *.gpx *.igc *.kml *.nmea *.tcx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="94"/>
|
||||
<location filename="../src/data.cpp" line="103"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation>Soubory CSV (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="94"/>
|
||||
<location filename="../src/data.cpp" line="103"/>
|
||||
<source>FIT files (*.fit)</source>
|
||||
<translation>Soubory FIT (*.fit)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="95"/>
|
||||
<location filename="../src/data.cpp" line="104"/>
|
||||
<source>GPX files (*.gpx)</source>
|
||||
<translation>Soubory GPX (*.gpx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="95"/>
|
||||
<location filename="../src/data.cpp" line="104"/>
|
||||
<source>IGC files (*.igc)</source>
|
||||
<translation>Soubory IGC (*.igc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="96"/>
|
||||
<location filename="../src/data.cpp" line="105"/>
|
||||
<source>KML files (*.kml)</source>
|
||||
<translation>Soubory KML (*.kml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="96"/>
|
||||
<location filename="../src/data.cpp" line="105"/>
|
||||
<source>NMEA files (*.nmea)</source>
|
||||
<translation>Soubory NMEA (*.nmea)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="97"/>
|
||||
<location filename="../src/data.cpp" line="106"/>
|
||||
<source>TCX files (*.tcx)</source>
|
||||
<translation>Soubory TCX (*.tcx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="97"/>
|
||||
<location filename="../src/data.cpp" line="106"/>
|
||||
<source>All files (*)</source>
|
||||
<translation>Všechny soubory (*)</translation>
|
||||
</message>
|
||||
@ -115,7 +115,7 @@
|
||||
<context>
|
||||
<name>ExportDialog</name>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="128"/>
|
||||
<location filename="../src/exportdialog.cpp" line="134"/>
|
||||
<source>Export to PDF</source>
|
||||
<translation>Exportovat do PDF</translation>
|
||||
</message>
|
||||
@ -125,84 +125,84 @@
|
||||
<translation>Soubory PDF (*.pdf);;Všechny soubory (*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="45"/>
|
||||
<location filename="../src/exportdialog.cpp" line="51"/>
|
||||
<source>Portrait</source>
|
||||
<translation>Na výšku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="46"/>
|
||||
<location filename="../src/exportdialog.cpp" line="52"/>
|
||||
<source>Landscape</source>
|
||||
<translation>Na šířku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="90"/>
|
||||
<location filename="../src/exportdialog.cpp" line="96"/>
|
||||
<source>Page size:</source>
|
||||
<translation>Velikost stránky:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="92"/>
|
||||
<location filename="../src/exportdialog.cpp" line="98"/>
|
||||
<source>Orientation:</source>
|
||||
<translation>Orientace:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="87"/>
|
||||
<location filename="../src/exportdialog.cpp" line="93"/>
|
||||
<source>Page Setup</source>
|
||||
<translation>Nastavení stránky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="59"/>
|
||||
<location filename="../src/exportdialog.cpp" line="65"/>
|
||||
<source>in</source>
|
||||
<translation>in</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="59"/>
|
||||
<location filename="../src/exportdialog.cpp" line="65"/>
|
||||
<source>mm</source>
|
||||
<translation>mm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="91"/>
|
||||
<location filename="../src/exportdialog.cpp" line="97"/>
|
||||
<source>Resolution:</source>
|
||||
<translation>Rozlišení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="93"/>
|
||||
<location filename="../src/exportdialog.cpp" line="99"/>
|
||||
<source>Margins:</source>
|
||||
<translation>Okraje:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="99"/>
|
||||
<location filename="../src/exportdialog.cpp" line="105"/>
|
||||
<source>File:</source>
|
||||
<translation>Soubor:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="106"/>
|
||||
<location filename="../src/exportdialog.cpp" line="112"/>
|
||||
<source>Output file</source>
|
||||
<translation>Výstupní soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="113"/>
|
||||
<location filename="../src/exportdialog.cpp" line="119"/>
|
||||
<source>Export</source>
|
||||
<translation>Exportovat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="135"/>
|
||||
<location filename="../src/exportdialog.cpp" line="145"/>
|
||||
<location filename="../src/exportdialog.cpp" line="150"/>
|
||||
<location filename="../src/exportdialog.cpp" line="141"/>
|
||||
<location filename="../src/exportdialog.cpp" line="151"/>
|
||||
<location filename="../src/exportdialog.cpp" line="156"/>
|
||||
<source>Error</source>
|
||||
<translation>Chyba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="135"/>
|
||||
<location filename="../src/exportdialog.cpp" line="141"/>
|
||||
<source>No output file selected.</source>
|
||||
<translation>Nebyl zvolen žádný výstupní soubor.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="145"/>
|
||||
<location filename="../src/exportdialog.cpp" line="151"/>
|
||||
<source>%1 is a directory.</source>
|
||||
<translation>%1 je adresář.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="150"/>
|
||||
<location filename="../src/exportdialog.cpp" line="156"/>
|
||||
<source>%1 is not writable.</source>
|
||||
<translation>%1 nelze zapsat.</translation>
|
||||
</message>
|
||||
@ -248,12 +248,12 @@
|
||||
<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>
|
||||
<location filename="../src/gui.cpp" line="724"/>
|
||||
<location filename="../src/gui.cpp" line="725"/>
|
||||
<source>Open file</source>
|
||||
<translation>Otevřít soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="814"/>
|
||||
<location filename="../src/gui.cpp" line="815"/>
|
||||
<source>Open POI file</source>
|
||||
<translation>Otevřít POI soubor</translation>
|
||||
</message>
|
||||
@ -391,7 +391,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="443"/>
|
||||
<location filename="../src/gui.cpp" line="1009"/>
|
||||
<location filename="../src/gui.cpp" line="986"/>
|
||||
<source>Moving time</source>
|
||||
<translation>Čistý čas</translation>
|
||||
</message>
|
||||
@ -526,38 +526,43 @@
|
||||
<translation>URL online map jsou načteny při startu programu z následujícího souboru:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="706"/>
|
||||
<location filename="../src/gui.cpp" line="698"/>
|
||||
<source>The file format is one map entry per line, consisting of the map name, tiles URL and an optional maximal zoom level 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, URL dlaždic a volitelně maximálního zoomu navzájem oddělených tabulátorem. Souřadnice dlaždice jsou v URL nahrazeny řetězci $x a $y, zoom pak řetězcem $z. Příklad:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="707"/>
|
||||
<source>Offline maps are loaded on program startup from the following directory:</source>
|
||||
<translation>Offline mapy jsou načítány při startu aplikace z následujícího adresáře:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1202"/>
|
||||
<location filename="../src/gui.cpp" line="1179"/>
|
||||
<source>Open map file</source>
|
||||
<translation>Otevřít mapový soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1238"/>
|
||||
<location filename="../src/gui.cpp" line="1215"/>
|
||||
<source>No files loaded</source>
|
||||
<translation>Nejsou načteny žádné soubory</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="995"/>
|
||||
<location filename="../src/gui.cpp" line="998"/>
|
||||
<location filename="../src/gui.cpp" line="972"/>
|
||||
<location filename="../src/gui.cpp" line="975"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="987"/>
|
||||
<location filename="../src/gui.cpp" line="964"/>
|
||||
<source>Routes</source>
|
||||
<translation>Trasy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1223"/>
|
||||
<location filename="../src/gui.cpp" line="1200"/>
|
||||
<source>Error loading map:</source>
|
||||
<translation>Mapu nelze načíst:</translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/gui.cpp" line="1242"/>
|
||||
<location filename="../src/gui.cpp" line="1219"/>
|
||||
<source>%n files</source>
|
||||
<translation>
|
||||
<numerusform>%n soubor</numerusform>
|
||||
@ -586,7 +591,7 @@
|
||||
<translation>Exportovat do PDF...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="989"/>
|
||||
<location filename="../src/gui.cpp" line="966"/>
|
||||
<source>Waypoints</source>
|
||||
<translation>Navigační body</translation>
|
||||
</message>
|
||||
@ -611,48 +616,43 @@
|
||||
<translation>Poslední soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="698"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="705"/>
|
||||
<location filename="../src/gui.cpp" line="706"/>
|
||||
<source>Offline maps</source>
|
||||
<translation>Offline mapy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="709"/>
|
||||
<location filename="../src/gui.cpp" line="710"/>
|
||||
<source>The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziExplorer maps and TrekBuddy maps/atlases (tared and non-tared).</source>
|
||||
<translation>Očekávaná struktura je jedna mapa/atlas v samostatném podadresáři. Podporované mapové formáty jsou OziExplorer mapy a TrekBuddy mapy/atlasy (včetně tar varianty).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="714"/>
|
||||
<location filename="../src/gui.cpp" line="715"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="803"/>
|
||||
<location filename="../src/gui.cpp" line="804"/>
|
||||
<source>Error loading data file:</source>
|
||||
<translation>Datový soubor nelze načíst:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="806"/>
|
||||
<location filename="../src/gui.cpp" line="831"/>
|
||||
<location filename="../src/gui.cpp" line="807"/>
|
||||
<location filename="../src/gui.cpp" line="832"/>
|
||||
<source>Line: %1</source>
|
||||
<translation>Řádka: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="828"/>
|
||||
<location filename="../src/gui.cpp" line="829"/>
|
||||
<source>Error loading POI file:</source>
|
||||
<translation>Soubor POI nelze načíst:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="981"/>
|
||||
<location filename="../src/gui.cpp" line="958"/>
|
||||
<source>Name</source>
|
||||
<translation>Název</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="985"/>
|
||||
<location filename="../src/gui.cpp" line="962"/>
|
||||
<source>Tracks</source>
|
||||
<translation>Cesty</translation>
|
||||
</message>
|
||||
@ -668,20 +668,20 @@
|
||||
<translation>Navigace</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="713"/>
|
||||
<location filename="../src/gui.cpp" line="714"/>
|
||||
<source>POIs</source>
|
||||
<translation>POI body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="412"/>
|
||||
<location filename="../src/gui.cpp" line="1005"/>
|
||||
<location filename="../src/gui.cpp" line="982"/>
|
||||
<source>Distance</source>
|
||||
<translation>Vzdálenost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="419"/>
|
||||
<location filename="../src/gui.cpp" line="543"/>
|
||||
<location filename="../src/gui.cpp" line="1007"/>
|
||||
<location filename="../src/gui.cpp" line="984"/>
|
||||
<source>Time</source>
|
||||
<translation>Čas</translation>
|
||||
</message>
|
||||
@ -762,12 +762,12 @@
|
||||
<context>
|
||||
<name>MapList</name>
|
||||
<message>
|
||||
<location filename="../src/maplist.cpp" line="127"/>
|
||||
<location filename="../src/maplist.cpp" line="141"/>
|
||||
<source>Map files (*.map *.tba *.tar)</source>
|
||||
<translation>Mapové soubory (*.map *.tba *.tar)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/maplist.cpp" line="128"/>
|
||||
<location filename="../src/maplist.cpp" line="142"/>
|
||||
<source>URL list files (*.txt)</source>
|
||||
<translation>Seznamy URL (*.txt)</translation>
|
||||
</message>
|
||||
@ -775,292 +775,355 @@
|
||||
<context>
|
||||
<name>OptionsDialog</name>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="37"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="49"/>
|
||||
<source>Base color:</source>
|
||||
<translation>Základní barva:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="38"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="50"/>
|
||||
<source>Palette shift:</source>
|
||||
<translation>Posun palety:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="76"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="63"/>
|
||||
<source>Track width:</source>
|
||||
<translation>Šířka cest:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="77"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="64"/>
|
||||
<source>Track style:</source>
|
||||
<translation>Styl cest:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="79"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="68"/>
|
||||
<source>Tracks</source>
|
||||
<translation>Cesty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="89"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="79"/>
|
||||
<source>Route width:</source>
|
||||
<translation>Šířka tras:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="90"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="80"/>
|
||||
<source>Route style:</source>
|
||||
<translation>Styl tras:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="92"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="84"/>
|
||||
<source>Routes</source>
|
||||
<translation>Trasy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="96"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="129"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="88"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="166"/>
|
||||
<source>Use anti-aliasing</source>
|
||||
<translation>Vyhlazovat hrany</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="127"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="164"/>
|
||||
<source>Line width:</source>
|
||||
<translation>Šířka čar:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="143"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="52"/>
|
||||
<source>Colors</source>
|
||||
<translation>Barvy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="40"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="144"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="186"/>
|
||||
<source>Background color:</source>
|
||||
<translation>Barva pozadí:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="197"/>
|
||||
<source>Paths</source>
|
||||
<translation>Trasy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="47"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="187"/>
|
||||
<source>Map opacity:</source>
|
||||
<translation>Neprůhlednost mapy:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="49"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="200"/>
|
||||
<source>Map</source>
|
||||
<translation>Mapa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="145"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="336"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="199"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="386"/>
|
||||
<source>Graphs</source>
|
||||
<translation>Grafy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="152"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="66"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="82"/>
|
||||
<source>Width:</source>
|
||||
<translation>Šířka:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="67"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="83"/>
|
||||
<source>Style:</source>
|
||||
<translation>Styl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="120"/>
|
||||
<source>Waypoint color:</source>
|
||||
<translation>Barva navigačních bodů:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="121"/>
|
||||
<source>Waypoint size:</source>
|
||||
<translation>Velikost navigačních bodů:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="123"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="139"/>
|
||||
<source>Color:</source>
|
||||
<translation>Barva:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="124"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="140"/>
|
||||
<source>Size:</source>
|
||||
<translation>Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="125"/>
|
||||
<source>Waypoints</source>
|
||||
<translation>Navigační body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="136"/>
|
||||
<source>POI color:</source>
|
||||
<translation>Barva POI:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="137"/>
|
||||
<source>POI size:</source>
|
||||
<translation>Velikost POI:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="141"/>
|
||||
<source>POIs</source>
|
||||
<translation>POI body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="198"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="207"/>
|
||||
<source>Moving average window size</source>
|
||||
<translation>Velikost okna klouzavého průměru</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="171"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="226"/>
|
||||
<source>Elevation:</source>
|
||||
<translation>Výška:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="172"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="227"/>
|
||||
<source>Speed:</source>
|
||||
<translation>Rychlost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="173"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="228"/>
|
||||
<source>Heart rate:</source>
|
||||
<translation>Tep:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="174"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="229"/>
|
||||
<source>Cadence:</source>
|
||||
<translation>Kadence:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="175"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="230"/>
|
||||
<source>Power:</source>
|
||||
<translation>Výkon:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="177"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="232"/>
|
||||
<source>Smoothing</source>
|
||||
<translation>Vyhlazování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="181"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="236"/>
|
||||
<source>Eliminate GPS outliers</source>
|
||||
<translation>Odstarnit odlehlé GPS záznamy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="187"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="242"/>
|
||||
<source>Outlier elimination</source>
|
||||
<translation>Odstranění odlehlých hodnot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="194"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="249"/>
|
||||
<source>Smoothing:</source>
|
||||
<translation>Vyhlazování:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="217"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="267"/>
|
||||
<source>mi/h</source>
|
||||
<translation>mi/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="220"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="270"/>
|
||||
<source>km/h</source>
|
||||
<translation>km/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="224"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="274"/>
|
||||
<source>s</source>
|
||||
<translation>s</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="228"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="278"/>
|
||||
<source>Minimal speed:</source>
|
||||
<translation>Minimální rychlost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="229"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="279"/>
|
||||
<source>Minimal duration:</source>
|
||||
<translation>Minimální doba trvání:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="236"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="286"/>
|
||||
<source>Filtering</source>
|
||||
<translation>Filtrování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="237"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="287"/>
|
||||
<source>Pause detection</source>
|
||||
<translation>Detekce přestávek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="249"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="299"/>
|
||||
<source>mi</source>
|
||||
<translation>mi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="252"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="302"/>
|
||||
<source>km</source>
|
||||
<translation>km</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="256"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="306"/>
|
||||
<source>POI radius:</source>
|
||||
<translation>POI radius:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="262"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="392"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="312"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="436"/>
|
||||
<source>POI</source>
|
||||
<translation>POI</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="269"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="319"/>
|
||||
<source>WYSIWYG</source>
|
||||
<translation>WYSIWYG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="270"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="320"/>
|
||||
<source>High-Resolution</source>
|
||||
<translation>Vysoké rozlišení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="275"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="325"/>
|
||||
<source>The printed area is approximately the display area. The map zoom level does not change.</source>
|
||||
<translation>Oblast tisku přibližně odpovídá zobrazované oblasti. Přiblížení mapy se nemění.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="277"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="327"/>
|
||||
<source>The zoom level will be changed so that the whole content (tracks/waypoints) fits to the printed area and the map resolution is as close as possible to the print resolution.</source>
|
||||
<translation>Přiblížení mapy bude upraveno tak, aby se celý obsah (trasy/body) vešel do oblasti tisku a rozlišení mapy bylo co nejblíže rozlišení tisku.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="299"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="349"/>
|
||||
<source>Name</source>
|
||||
<translation>Název</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="301"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="351"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="303"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="353"/>
|
||||
<source>Distance</source>
|
||||
<translation>Vzdálenost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="305"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="355"/>
|
||||
<source>Time</source>
|
||||
<translation>Čas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="307"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="357"/>
|
||||
<source>Moving time</source>
|
||||
<translation>Čistý čas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="309"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="359"/>
|
||||
<source>Item count (>1)</source>
|
||||
<translation>Počet objektů (>1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="324"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="374"/>
|
||||
<source>Separate graph page</source>
|
||||
<translation>Samostatná stránka s grafy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="334"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="384"/>
|
||||
<source>Print mode</source>
|
||||
<translation>Režim tisku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="335"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="385"/>
|
||||
<source>Header</source>
|
||||
<translation>Záhlaví</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="343"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="393"/>
|
||||
<source>Use OpenGL</source>
|
||||
<translation>Používat OpenGL</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="355"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="399"/>
|
||||
<source>MB</source>
|
||||
<translation>MB</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="359"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="403"/>
|
||||
<source>Image cache size:</source>
|
||||
<translation>Mezipaměť obrázků:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="372"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="395"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="416"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="439"/>
|
||||
<source>System</source>
|
||||
<translation>Systém</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="389"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="433"/>
|
||||
<source>Appearance</source>
|
||||
<translation>Vzhled</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="391"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="435"/>
|
||||
<source>Data</source>
|
||||
<translation>Data</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="393"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="437"/>
|
||||
<source>Print & Export</source>
|
||||
<translation>Tisk a export</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="422"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="466"/>
|
||||
<source>Options</source>
|
||||
<translation>Nastavení</translation>
|
||||
</message>
|
||||
@ -1229,27 +1292,27 @@
|
||||
<context>
|
||||
<name>WaypointItem</name>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="17"/>
|
||||
<location filename="../src/waypointitem.cpp" line="19"/>
|
||||
<source>Name</source>
|
||||
<translation>Název</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="18"/>
|
||||
<location filename="../src/waypointitem.cpp" line="20"/>
|
||||
<source>Coordinates</source>
|
||||
<translation>Souřadnice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="21"/>
|
||||
<location filename="../src/waypointitem.cpp" line="23"/>
|
||||
<source>Elevation</source>
|
||||
<translation>Výška</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="24"/>
|
||||
<location filename="../src/waypointitem.cpp" line="26"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="27"/>
|
||||
<location filename="../src/waypointitem.cpp" line="29"/>
|
||||
<source>Description</source>
|
||||
<translation>Popis</translation>
|
||||
</message>
|
||||
|
@ -28,47 +28,47 @@
|
||||
<context>
|
||||
<name>Data</name>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="93"/>
|
||||
<location filename="../src/data.cpp" line="102"/>
|
||||
<source>Supported files (*.csv *.fit *.gpx *.igc *.kml *.nmea *.tcx)</source>
|
||||
<translation>Unterstütze Dateien (*.csv *.fit *.gpx *.igc *.kml *.nmea *.tcx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="94"/>
|
||||
<location filename="../src/data.cpp" line="103"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation>CSV-Dateien (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="94"/>
|
||||
<location filename="../src/data.cpp" line="103"/>
|
||||
<source>FIT files (*.fit)</source>
|
||||
<translation>FIT-Dateien (*.fit)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="95"/>
|
||||
<location filename="../src/data.cpp" line="104"/>
|
||||
<source>GPX files (*.gpx)</source>
|
||||
<translation>GPX-Dateien (*.gpx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="95"/>
|
||||
<location filename="../src/data.cpp" line="104"/>
|
||||
<source>IGC files (*.igc)</source>
|
||||
<translation>IGC-Dateien (*.igc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="96"/>
|
||||
<location filename="../src/data.cpp" line="105"/>
|
||||
<source>KML files (*.kml)</source>
|
||||
<translation>KML-Dateien (*.kml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="96"/>
|
||||
<location filename="../src/data.cpp" line="105"/>
|
||||
<source>NMEA files (*.nmea)</source>
|
||||
<translation>NMEA-Dateien (*.nmea)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="97"/>
|
||||
<location filename="../src/data.cpp" line="106"/>
|
||||
<source>TCX files (*.tcx)</source>
|
||||
<translation>TCX-Dateien (*.tcx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="97"/>
|
||||
<location filename="../src/data.cpp" line="106"/>
|
||||
<source>All files (*)</source>
|
||||
<translation>Alle Dateien (*)</translation>
|
||||
</message>
|
||||
@ -115,7 +115,7 @@
|
||||
<context>
|
||||
<name>ExportDialog</name>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="128"/>
|
||||
<location filename="../src/exportdialog.cpp" line="134"/>
|
||||
<source>Export to PDF</source>
|
||||
<translation>PDF Export</translation>
|
||||
</message>
|
||||
@ -125,84 +125,84 @@
|
||||
<translation>PDF-Dateien (*.pdf);;Alle Dateien (*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="45"/>
|
||||
<location filename="../src/exportdialog.cpp" line="51"/>
|
||||
<source>Portrait</source>
|
||||
<translation>Hochformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="46"/>
|
||||
<location filename="../src/exportdialog.cpp" line="52"/>
|
||||
<source>Landscape</source>
|
||||
<translation>Querformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="90"/>
|
||||
<location filename="../src/exportdialog.cpp" line="96"/>
|
||||
<source>Page size:</source>
|
||||
<translation>Seitengröße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="92"/>
|
||||
<location filename="../src/exportdialog.cpp" line="98"/>
|
||||
<source>Orientation:</source>
|
||||
<translation>Orientierung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="87"/>
|
||||
<location filename="../src/exportdialog.cpp" line="93"/>
|
||||
<source>Page Setup</source>
|
||||
<translation>Seiten Setup</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="59"/>
|
||||
<location filename="../src/exportdialog.cpp" line="65"/>
|
||||
<source>in</source>
|
||||
<translation>in</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="59"/>
|
||||
<location filename="../src/exportdialog.cpp" line="65"/>
|
||||
<source>mm</source>
|
||||
<translation>mm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="91"/>
|
||||
<location filename="../src/exportdialog.cpp" line="97"/>
|
||||
<source>Resolution:</source>
|
||||
<translation>Druckauflösung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="93"/>
|
||||
<location filename="../src/exportdialog.cpp" line="99"/>
|
||||
<source>Margins:</source>
|
||||
<translation>Ränder:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="99"/>
|
||||
<location filename="../src/exportdialog.cpp" line="105"/>
|
||||
<source>File:</source>
|
||||
<translation>Ausgabedatei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="106"/>
|
||||
<location filename="../src/exportdialog.cpp" line="112"/>
|
||||
<source>Output file</source>
|
||||
<translation>Ausgabedatei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="113"/>
|
||||
<location filename="../src/exportdialog.cpp" line="119"/>
|
||||
<source>Export</source>
|
||||
<translation>Export</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="135"/>
|
||||
<location filename="../src/exportdialog.cpp" line="145"/>
|
||||
<location filename="../src/exportdialog.cpp" line="150"/>
|
||||
<location filename="../src/exportdialog.cpp" line="141"/>
|
||||
<location filename="../src/exportdialog.cpp" line="151"/>
|
||||
<location filename="../src/exportdialog.cpp" line="156"/>
|
||||
<source>Error</source>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="135"/>
|
||||
<location filename="../src/exportdialog.cpp" line="141"/>
|
||||
<source>No output file selected.</source>
|
||||
<translation>Keine Ausgabedatei ausgewählt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="145"/>
|
||||
<location filename="../src/exportdialog.cpp" line="151"/>
|
||||
<source>%1 is a directory.</source>
|
||||
<translation>%1 ist ein Verzeichniss.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="150"/>
|
||||
<location filename="../src/exportdialog.cpp" line="156"/>
|
||||
<source>%1 is not writable.</source>
|
||||
<translation>%1 ist nich schreibbar.</translation>
|
||||
</message>
|
||||
@ -248,12 +248,12 @@
|
||||
<translation>GPXSee wird unter der GNU General Public License version 3 vertrieben. Mehr Informationen zu GPXSee auf der Homepage </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="724"/>
|
||||
<location filename="../src/gui.cpp" line="725"/>
|
||||
<source>Open file</source>
|
||||
<translation>Datei öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="814"/>
|
||||
<location filename="../src/gui.cpp" line="815"/>
|
||||
<source>Open POI file</source>
|
||||
<translation>POI Datei öffnen</translation>
|
||||
</message>
|
||||
@ -391,7 +391,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="443"/>
|
||||
<location filename="../src/gui.cpp" line="1009"/>
|
||||
<location filename="../src/gui.cpp" line="986"/>
|
||||
<source>Moving time</source>
|
||||
<translation>Bewegungszeit</translation>
|
||||
</message>
|
||||
@ -526,32 +526,37 @@
|
||||
<translation>Onlinekarten URLs werden zu Programmstart aus der folgenden Datei gelesen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="705"/>
|
||||
<location filename="../src/gui.cpp" line="698"/>
|
||||
<source>The file format is one map entry per line, consisting of the map name, tiles URL and an optional maximal zoom level 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>Das Dateiformat ist eine Karte pro Linie. Jede Linie besteht aus dem Kartenname, der Tiles URL und wahlweise dem maximalen Zoomlevel getrennt durch ein TAB Zeichen. X und Y Koordinate einer Tile werden in der URL durch $x und $y ersetzt und das Zoomlevel durch $z. Ein Beispiel einer Kartendatei könnte so aussehen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="706"/>
|
||||
<source>Offline maps</source>
|
||||
<translation>Offlinekarten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="706"/>
|
||||
<location filename="../src/gui.cpp" line="707"/>
|
||||
<source>Offline maps are loaded on program startup from the following directory:</source>
|
||||
<translation>Offlinekarten werden zu Programmstart aus dem folgenden Verzeichnis geladen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1202"/>
|
||||
<location filename="../src/gui.cpp" line="1179"/>
|
||||
<source>Open map file</source>
|
||||
<translation>Karte Datei öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1223"/>
|
||||
<location filename="../src/gui.cpp" line="1200"/>
|
||||
<source>Error loading map:</source>
|
||||
<translation>Fehler beim Laden der Karte-Datei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1238"/>
|
||||
<location filename="../src/gui.cpp" line="1215"/>
|
||||
<source>No files loaded</source>
|
||||
<translation>Keine Dateien geladen</translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/gui.cpp" line="1242"/>
|
||||
<location filename="../src/gui.cpp" line="1219"/>
|
||||
<source>%n files</source>
|
||||
<translation>
|
||||
<numerusform>%n Datei</numerusform>
|
||||
@ -559,13 +564,13 @@
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="995"/>
|
||||
<location filename="../src/gui.cpp" line="998"/>
|
||||
<location filename="../src/gui.cpp" line="972"/>
|
||||
<location filename="../src/gui.cpp" line="975"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="987"/>
|
||||
<location filename="../src/gui.cpp" line="964"/>
|
||||
<source>Routes</source>
|
||||
<translation>Routen</translation>
|
||||
</message>
|
||||
@ -590,7 +595,7 @@
|
||||
<translation>Als PDF exportieren...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="989"/>
|
||||
<location filename="../src/gui.cpp" line="966"/>
|
||||
<source>Waypoints</source>
|
||||
<translation>Wegpunkte</translation>
|
||||
</message>
|
||||
@ -615,43 +620,38 @@
|
||||
<translation>Letzte Datei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="698"/>
|
||||
<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>Das Dateiformat ist eine Karte pro Linie. Jede Linie besteht aus dem Kartenname und die durch ein TAB Zeichen getrennte Tiles URL. X und Y Koordinate einer Tile werden in der URL durch $x und $y ersetzt und das Zoomlevel durch $z. Ein Beispiel einer Kartendatei könnte so aussehen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="709"/>
|
||||
<location filename="../src/gui.cpp" line="710"/>
|
||||
<source>The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziExplorer maps and TrekBuddy maps/atlases (tared and non-tared).</source>
|
||||
<translation>Die erwartete Struktur ist eine Karte/ein Atlas pro Unterverzeichnis. Unterstützte Kartenformate sind OziExplorer Karten und TrekBuddy Karten/Atlanten (mit oder ohne tar Kompression).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="714"/>
|
||||
<location filename="../src/gui.cpp" line="715"/>
|
||||
<source>To make GPXSee load a POI file automatically on startup, add the file to the following directory:</source>
|
||||
<translation>Damit GPXSee zu Programmstart automatisch eine POI-Datei lädt, fügen Sie diese zu folgendem Verzeichnis hinzu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="803"/>
|
||||
<location filename="../src/gui.cpp" line="804"/>
|
||||
<source>Error loading data file:</source>
|
||||
<translation>Fehler beim Laden der Datei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="806"/>
|
||||
<location filename="../src/gui.cpp" line="831"/>
|
||||
<location filename="../src/gui.cpp" line="807"/>
|
||||
<location filename="../src/gui.cpp" line="832"/>
|
||||
<source>Line: %1</source>
|
||||
<translation>Linie: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="828"/>
|
||||
<location filename="../src/gui.cpp" line="829"/>
|
||||
<source>Error loading POI file:</source>
|
||||
<translation>Fehler beim Laden der POI-Datei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="981"/>
|
||||
<location filename="../src/gui.cpp" line="958"/>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="985"/>
|
||||
<location filename="../src/gui.cpp" line="962"/>
|
||||
<source>Tracks</source>
|
||||
<translation>Strecken</translation>
|
||||
</message>
|
||||
@ -667,20 +667,20 @@
|
||||
<translation>Navigation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="713"/>
|
||||
<location filename="../src/gui.cpp" line="714"/>
|
||||
<source>POIs</source>
|
||||
<translation>POIs</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="412"/>
|
||||
<location filename="../src/gui.cpp" line="1005"/>
|
||||
<location filename="../src/gui.cpp" line="982"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distanz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="419"/>
|
||||
<location filename="../src/gui.cpp" line="543"/>
|
||||
<location filename="../src/gui.cpp" line="1007"/>
|
||||
<location filename="../src/gui.cpp" line="984"/>
|
||||
<source>Time</source>
|
||||
<translation>Zeit</translation>
|
||||
</message>
|
||||
@ -761,12 +761,12 @@
|
||||
<context>
|
||||
<name>MapList</name>
|
||||
<message>
|
||||
<location filename="../src/maplist.cpp" line="127"/>
|
||||
<location filename="../src/maplist.cpp" line="141"/>
|
||||
<source>Map files (*.map *.tba *.tar)</source>
|
||||
<translation>Karten-Dateien (*.map *.tba *.tar)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/maplist.cpp" line="128"/>
|
||||
<location filename="../src/maplist.cpp" line="142"/>
|
||||
<source>URL list files (*.txt)</source>
|
||||
<translation>URL-Liste Dateien (*.txt)</translation>
|
||||
</message>
|
||||
@ -774,292 +774,355 @@
|
||||
<context>
|
||||
<name>OptionsDialog</name>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="37"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="49"/>
|
||||
<source>Base color:</source>
|
||||
<translation>Grundfarbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="38"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="50"/>
|
||||
<source>Palette shift:</source>
|
||||
<translation>Palettenverschiebung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="76"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="63"/>
|
||||
<source>Track width:</source>
|
||||
<translation>Streckenbreite:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="77"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="64"/>
|
||||
<source>Track style:</source>
|
||||
<translation>Streckenstil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="79"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="68"/>
|
||||
<source>Tracks</source>
|
||||
<translation>Strecken</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="89"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="79"/>
|
||||
<source>Route width:</source>
|
||||
<translation>Routenbreite:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="90"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="80"/>
|
||||
<source>Route style:</source>
|
||||
<translation>Routenstil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="92"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="84"/>
|
||||
<source>Routes</source>
|
||||
<translation>Routen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="96"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="129"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="88"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="166"/>
|
||||
<source>Use anti-aliasing</source>
|
||||
<translation>Anti-Aliasing verwenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="127"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="164"/>
|
||||
<source>Line width:</source>
|
||||
<translation>Linienbreite:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="143"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="52"/>
|
||||
<source>Colors</source>
|
||||
<translation>Farben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="40"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="144"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="186"/>
|
||||
<source>Background color:</source>
|
||||
<translation>Hintergrundfarbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="197"/>
|
||||
<source>Paths</source>
|
||||
<translation>Pfade</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="47"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="187"/>
|
||||
<source>Map opacity:</source>
|
||||
<translation>Karte Deckkraft:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="49"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="200"/>
|
||||
<source>Map</source>
|
||||
<translation>Karte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="145"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="336"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="199"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="386"/>
|
||||
<source>Graphs</source>
|
||||
<translation>Graphen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="152"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="66"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="82"/>
|
||||
<source>Width:</source>
|
||||
<translation>Breite:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="67"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="83"/>
|
||||
<source>Style:</source>
|
||||
<translation>Stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="120"/>
|
||||
<source>Waypoint color:</source>
|
||||
<translation>Wegpunkt-Farbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="121"/>
|
||||
<source>Waypoint size:</source>
|
||||
<translation>Wegpunkt-Größe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="123"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="139"/>
|
||||
<source>Color:</source>
|
||||
<translation>Farbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="124"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="140"/>
|
||||
<source>Size:</source>
|
||||
<translation>Größe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="125"/>
|
||||
<source>Waypoints</source>
|
||||
<translation>Wegpunkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="136"/>
|
||||
<source>POI color:</source>
|
||||
<translation>POI-Farbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="137"/>
|
||||
<source>POI size:</source>
|
||||
<translation>POI-Größe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="141"/>
|
||||
<source>POIs</source>
|
||||
<translation>POIs</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="198"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="207"/>
|
||||
<source>Moving average window size</source>
|
||||
<translation>Fensterbreite des gleitenden Mittelwerts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="171"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="226"/>
|
||||
<source>Elevation:</source>
|
||||
<translation>Höhe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="172"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="227"/>
|
||||
<source>Speed:</source>
|
||||
<translation>Geschwindigkeit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="173"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="228"/>
|
||||
<source>Heart rate:</source>
|
||||
<translation>Herzfrequenz:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="174"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="229"/>
|
||||
<source>Cadence:</source>
|
||||
<translation>Frequenz:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="175"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="230"/>
|
||||
<source>Power:</source>
|
||||
<translation>Leistung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="177"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="232"/>
|
||||
<source>Smoothing</source>
|
||||
<translation>Glätten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="181"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="236"/>
|
||||
<source>Eliminate GPS outliers</source>
|
||||
<translation>GPS Ausreißer entfernen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="187"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="242"/>
|
||||
<source>Outlier elimination</source>
|
||||
<translation>Ausreißer Entfernung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="194"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="249"/>
|
||||
<source>Smoothing:</source>
|
||||
<translation>Glätten:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="217"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="267"/>
|
||||
<source>mi/h</source>
|
||||
<translation>mi/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="220"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="270"/>
|
||||
<source>km/h</source>
|
||||
<translation>km/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="224"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="274"/>
|
||||
<source>s</source>
|
||||
<translation>sek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="228"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="278"/>
|
||||
<source>Minimal speed:</source>
|
||||
<translation>Minimale Geschwindigkeit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="229"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="279"/>
|
||||
<source>Minimal duration:</source>
|
||||
<translation>Minimale Dauer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="236"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="286"/>
|
||||
<source>Filtering</source>
|
||||
<translation>Datenfilterung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="237"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="287"/>
|
||||
<source>Pause detection</source>
|
||||
<translation>Pausenerkennung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="249"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="299"/>
|
||||
<source>mi</source>
|
||||
<translation>mi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="252"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="302"/>
|
||||
<source>km</source>
|
||||
<translation>km</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="256"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="306"/>
|
||||
<source>POI radius:</source>
|
||||
<translation>POI-Radius:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="262"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="392"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="312"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="436"/>
|
||||
<source>POI</source>
|
||||
<translation>POI</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="269"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="319"/>
|
||||
<source>WYSIWYG</source>
|
||||
<translation>WYSIWYG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="270"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="320"/>
|
||||
<source>High-Resolution</source>
|
||||
<translation>Hohe Auflösung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="275"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="325"/>
|
||||
<source>The printed area is approximately the display area. The map zoom level does not change.</source>
|
||||
<translation>Der Druckbereich ist circa der Anzeigebereich. Das Karten-Zoom ändert sich nicht.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="277"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="327"/>
|
||||
<source>The zoom level will be changed so that the whole content (tracks/waypoints) fits to the printed area and the map resolution is as close as possible to the print resolution.</source>
|
||||
<translation>Das Karten-Zoom ändert sich so, dass der ganze Inhalt (Strecken/Wegpunkte) in den Druckbereich passen und die Kartenauflösung so nah wie möglich an der Druckauflösung ist.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="299"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="349"/>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="301"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="351"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="303"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="353"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distanz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="305"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="355"/>
|
||||
<source>Time</source>
|
||||
<translation>Zeit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="307"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="357"/>
|
||||
<source>Moving time</source>
|
||||
<translation>Bewegungszeit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="309"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="359"/>
|
||||
<source>Item count (>1)</source>
|
||||
<translation>Elementanzahl (>1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="324"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="374"/>
|
||||
<source>Separate graph page</source>
|
||||
<translation>Separate Seite für Graphen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="334"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="384"/>
|
||||
<source>Print mode</source>
|
||||
<translation>Druckmodus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="335"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="385"/>
|
||||
<source>Header</source>
|
||||
<translation>Kopfzeile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="343"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="393"/>
|
||||
<source>Use OpenGL</source>
|
||||
<translation>OpenGL verwenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="355"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="399"/>
|
||||
<source>MB</source>
|
||||
<translation>MB</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="359"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="403"/>
|
||||
<source>Image cache size:</source>
|
||||
<translation>Bild-Cache größe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="372"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="395"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="416"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="439"/>
|
||||
<source>System</source>
|
||||
<translation>System</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="389"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="433"/>
|
||||
<source>Appearance</source>
|
||||
<translation>Erscheinungsbild</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="391"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="435"/>
|
||||
<source>Data</source>
|
||||
<translation>Daten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="393"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="437"/>
|
||||
<source>Print & Export</source>
|
||||
<translation>Druck & Export</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="422"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="466"/>
|
||||
<source>Options</source>
|
||||
<translation>Einstellungen</translation>
|
||||
</message>
|
||||
@ -1228,27 +1291,27 @@
|
||||
<context>
|
||||
<name>WaypointItem</name>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="17"/>
|
||||
<location filename="../src/waypointitem.cpp" line="19"/>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="18"/>
|
||||
<location filename="../src/waypointitem.cpp" line="20"/>
|
||||
<source>Coordinates</source>
|
||||
<translation>Koordinaten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="21"/>
|
||||
<location filename="../src/waypointitem.cpp" line="23"/>
|
||||
<source>Elevation</source>
|
||||
<translation>Höhe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="24"/>
|
||||
<location filename="../src/waypointitem.cpp" line="26"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="27"/>
|
||||
<location filename="../src/waypointitem.cpp" line="29"/>
|
||||
<source>Description</source>
|
||||
<translation>Beschreibung</translation>
|
||||
</message>
|
||||
|
@ -28,47 +28,47 @@
|
||||
<context>
|
||||
<name>Data</name>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="93"/>
|
||||
<location filename="../src/data.cpp" line="102"/>
|
||||
<source>Supported files (*.csv *.fit *.gpx *.igc *.kml *.nmea *.tcx)</source>
|
||||
<translation>Filer som stöds (*.csv *.fit *.gpx *.igc *.kml *.nmea *.tcx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="94"/>
|
||||
<location filename="../src/data.cpp" line="103"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation>CSV-filer (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="94"/>
|
||||
<location filename="../src/data.cpp" line="103"/>
|
||||
<source>FIT files (*.fit)</source>
|
||||
<translation>FIT-filer (*.fit)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="95"/>
|
||||
<location filename="../src/data.cpp" line="104"/>
|
||||
<source>GPX files (*.gpx)</source>
|
||||
<translation>GPX-filer (*.gpx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="95"/>
|
||||
<location filename="../src/data.cpp" line="104"/>
|
||||
<source>IGC files (*.igc)</source>
|
||||
<translation>IGC-filer (*.igc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="96"/>
|
||||
<location filename="../src/data.cpp" line="105"/>
|
||||
<source>KML files (*.kml)</source>
|
||||
<translation>KML-filer (*.kml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="96"/>
|
||||
<location filename="../src/data.cpp" line="105"/>
|
||||
<source>NMEA files (*.nmea)</source>
|
||||
<translation>NMEA-filer (*.nmea)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="97"/>
|
||||
<location filename="../src/data.cpp" line="106"/>
|
||||
<source>TCX files (*.tcx)</source>
|
||||
<translation>TCX-filer (*.tcx)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data.cpp" line="97"/>
|
||||
<location filename="../src/data.cpp" line="106"/>
|
||||
<source>All files (*)</source>
|
||||
<translation>Alla filer (*)</translation>
|
||||
</message>
|
||||
@ -115,7 +115,7 @@
|
||||
<context>
|
||||
<name>ExportDialog</name>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="128"/>
|
||||
<location filename="../src/exportdialog.cpp" line="134"/>
|
||||
<source>Export to PDF</source>
|
||||
<translation>Exportera till PDF</translation>
|
||||
</message>
|
||||
@ -125,84 +125,84 @@
|
||||
<translation>PDF-filer (*.pdf);;Alla filer (*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="45"/>
|
||||
<location filename="../src/exportdialog.cpp" line="51"/>
|
||||
<source>Portrait</source>
|
||||
<translation>Stående</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="46"/>
|
||||
<location filename="../src/exportdialog.cpp" line="52"/>
|
||||
<source>Landscape</source>
|
||||
<translation>Liggande</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="90"/>
|
||||
<location filename="../src/exportdialog.cpp" line="96"/>
|
||||
<source>Page size:</source>
|
||||
<translation>Sidstorlek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="92"/>
|
||||
<location filename="../src/exportdialog.cpp" line="98"/>
|
||||
<source>Orientation:</source>
|
||||
<translation>Orientering:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="87"/>
|
||||
<location filename="../src/exportdialog.cpp" line="93"/>
|
||||
<source>Page Setup</source>
|
||||
<translation>Sidinställning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="59"/>
|
||||
<location filename="../src/exportdialog.cpp" line="65"/>
|
||||
<source>in</source>
|
||||
<translation>i</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="59"/>
|
||||
<location filename="../src/exportdialog.cpp" line="65"/>
|
||||
<source>mm</source>
|
||||
<translation>mm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="91"/>
|
||||
<location filename="../src/exportdialog.cpp" line="97"/>
|
||||
<source>Resolution:</source>
|
||||
<translation>Upplösning:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="93"/>
|
||||
<location filename="../src/exportdialog.cpp" line="99"/>
|
||||
<source>Margins:</source>
|
||||
<translation>Marginaler:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="99"/>
|
||||
<location filename="../src/exportdialog.cpp" line="105"/>
|
||||
<source>File:</source>
|
||||
<translation>Fil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="106"/>
|
||||
<location filename="../src/exportdialog.cpp" line="112"/>
|
||||
<source>Output file</source>
|
||||
<translation>Utdatafil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="113"/>
|
||||
<location filename="../src/exportdialog.cpp" line="119"/>
|
||||
<source>Export</source>
|
||||
<translation>Exportera</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="135"/>
|
||||
<location filename="../src/exportdialog.cpp" line="145"/>
|
||||
<location filename="../src/exportdialog.cpp" line="150"/>
|
||||
<location filename="../src/exportdialog.cpp" line="141"/>
|
||||
<location filename="../src/exportdialog.cpp" line="151"/>
|
||||
<location filename="../src/exportdialog.cpp" line="156"/>
|
||||
<source>Error</source>
|
||||
<translation>Fel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="135"/>
|
||||
<location filename="../src/exportdialog.cpp" line="141"/>
|
||||
<source>No output file selected.</source>
|
||||
<translation>Ingen utdatafil vald.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="145"/>
|
||||
<location filename="../src/exportdialog.cpp" line="151"/>
|
||||
<source>%1 is a directory.</source>
|
||||
<translation>%1 är en mapp.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/exportdialog.cpp" line="150"/>
|
||||
<location filename="../src/exportdialog.cpp" line="156"/>
|
||||
<source>%1 is not writable.</source>
|
||||
<translation>%1 är skrivskyddad.</translation>
|
||||
</message>
|
||||
@ -248,12 +248,12 @@
|
||||
<translation>GPXSee distribueras under vilkoren för GNU General Public License version 3. För mer info om GPXSee, besök hemsidan på </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="724"/>
|
||||
<location filename="../src/gui.cpp" line="725"/>
|
||||
<source>Open file</source>
|
||||
<translation>Öppna fil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="814"/>
|
||||
<location filename="../src/gui.cpp" line="815"/>
|
||||
<source>Open POI file</source>
|
||||
<translation>Öppna POI-fil</translation>
|
||||
</message>
|
||||
@ -391,7 +391,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="443"/>
|
||||
<location filename="../src/gui.cpp" line="1009"/>
|
||||
<location filename="../src/gui.cpp" line="986"/>
|
||||
<source>Moving time</source>
|
||||
<translation>Förflyttningstid</translation>
|
||||
</message>
|
||||
@ -526,32 +526,37 @@
|
||||
<translation>Online-kartors URL:er, läses från följande fil vid programstart:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="705"/>
|
||||
<location filename="../src/gui.cpp" line="698"/>
|
||||
<source>The file format is one map entry per line, consisting of the map name, tiles URL and an optional maximal zoom level 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>Filformatet är en kartpost per rad, bestående av kartans namn, webbadress och maximal zoomnivå om tillämpligt, Kartrutans X- och Y-koordinater ersätts med $x och $y, i webbadressen och zoomnivån ersätts med $z. Ett exempel på en kartfil kan se ut så här:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="706"/>
|
||||
<source>Offline maps</source>
|
||||
<translation>Offline-kartor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="706"/>
|
||||
<location filename="../src/gui.cpp" line="707"/>
|
||||
<source>Offline maps are loaded on program startup from the following directory:</source>
|
||||
<translation>Offline-kartor läses in från följande mapp vid programstart:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1202"/>
|
||||
<location filename="../src/gui.cpp" line="1179"/>
|
||||
<source>Open map file</source>
|
||||
<translation>Öppna kartfil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1223"/>
|
||||
<location filename="../src/gui.cpp" line="1200"/>
|
||||
<source>Error loading map:</source>
|
||||
<translation>Fel vid inläsning av karta:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="1238"/>
|
||||
<location filename="../src/gui.cpp" line="1215"/>
|
||||
<source>No files loaded</source>
|
||||
<translation>Inga filer inlästa</translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/gui.cpp" line="1242"/>
|
||||
<location filename="../src/gui.cpp" line="1219"/>
|
||||
<source>%n files</source>
|
||||
<translation>
|
||||
<numerusform>%n filer</numerusform>
|
||||
@ -559,13 +564,13 @@
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="995"/>
|
||||
<location filename="../src/gui.cpp" line="998"/>
|
||||
<location filename="../src/gui.cpp" line="972"/>
|
||||
<location filename="../src/gui.cpp" line="975"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="987"/>
|
||||
<location filename="../src/gui.cpp" line="964"/>
|
||||
<source>Routes</source>
|
||||
<translation>Rutter</translation>
|
||||
</message>
|
||||
@ -590,7 +595,7 @@
|
||||
<translation>Exportera till PDF...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="989"/>
|
||||
<location filename="../src/gui.cpp" line="966"/>
|
||||
<source>Waypoints</source>
|
||||
<translation>Vägpunkter</translation>
|
||||
</message>
|
||||
@ -615,43 +620,38 @@
|
||||
<translation>Sista filen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="698"/>
|
||||
<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>Filformatet är en kartpost per rad, bestående av kartnamn och kartrutans URL, avgränsade med ett TAB-tecken. Kartrutans X- och Y-koordinater ersätts med $x och $y i URL:en och zoomnivån ersätts med $z. Exempel på en kartfil kan se ut så här:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="709"/>
|
||||
<location filename="../src/gui.cpp" line="710"/>
|
||||
<source>The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziExplorer maps and TrekBuddy maps/atlases (tared and non-tared).</source>
|
||||
<translation>Den förväntade strukturen är en karta/atlas i en separat undermapp. Kartformat som stöds är OziExplorer kartor och TrekBuddy-kartor/-kartsamlingar (tarerade och icke tarerade).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="714"/>
|
||||
<location filename="../src/gui.cpp" line="715"/>
|
||||
<source>To make GPXSee load a POI file automatically on startup, add the file to the following directory:</source>
|
||||
<translation>För att GPXSee skall läsa in en POI-fil automatiskt vid programstart, läggs filen i följande mapp:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="803"/>
|
||||
<location filename="../src/gui.cpp" line="804"/>
|
||||
<source>Error loading data file:</source>
|
||||
<translation>Fel vid inläsning av datafil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="806"/>
|
||||
<location filename="../src/gui.cpp" line="831"/>
|
||||
<location filename="../src/gui.cpp" line="807"/>
|
||||
<location filename="../src/gui.cpp" line="832"/>
|
||||
<source>Line: %1</source>
|
||||
<translation>Rad: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="828"/>
|
||||
<location filename="../src/gui.cpp" line="829"/>
|
||||
<source>Error loading POI file:</source>
|
||||
<translation>Fel vid inläsning av POI-fil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="981"/>
|
||||
<location filename="../src/gui.cpp" line="958"/>
|
||||
<source>Name</source>
|
||||
<translation>Namn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="985"/>
|
||||
<location filename="../src/gui.cpp" line="962"/>
|
||||
<source>Tracks</source>
|
||||
<translation>Spår</translation>
|
||||
</message>
|
||||
@ -667,20 +667,20 @@
|
||||
<translation>Navigation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="713"/>
|
||||
<location filename="../src/gui.cpp" line="714"/>
|
||||
<source>POIs</source>
|
||||
<translation>POI:er</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="412"/>
|
||||
<location filename="../src/gui.cpp" line="1005"/>
|
||||
<location filename="../src/gui.cpp" line="982"/>
|
||||
<source>Distance</source>
|
||||
<translation>Avstånd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/gui.cpp" line="419"/>
|
||||
<location filename="../src/gui.cpp" line="543"/>
|
||||
<location filename="../src/gui.cpp" line="1007"/>
|
||||
<location filename="../src/gui.cpp" line="984"/>
|
||||
<source>Time</source>
|
||||
<translation>Tid</translation>
|
||||
</message>
|
||||
@ -761,12 +761,12 @@
|
||||
<context>
|
||||
<name>MapList</name>
|
||||
<message>
|
||||
<location filename="../src/maplist.cpp" line="127"/>
|
||||
<location filename="../src/maplist.cpp" line="141"/>
|
||||
<source>Map files (*.map *.tba *.tar)</source>
|
||||
<translation>Kartfiler (*.map *.tba *.tar)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/maplist.cpp" line="128"/>
|
||||
<location filename="../src/maplist.cpp" line="142"/>
|
||||
<source>URL list files (*.txt)</source>
|
||||
<translation>URL-listfiler (*.txt)</translation>
|
||||
</message>
|
||||
@ -774,292 +774,355 @@
|
||||
<context>
|
||||
<name>OptionsDialog</name>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="37"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="49"/>
|
||||
<source>Base color:</source>
|
||||
<translation>Basfärg:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="38"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="50"/>
|
||||
<source>Palette shift:</source>
|
||||
<translation>Palettskiftning:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="76"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="63"/>
|
||||
<source>Track width:</source>
|
||||
<translation>Spårtjocklek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="77"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="64"/>
|
||||
<source>Track style:</source>
|
||||
<translation>Spårstil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="79"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="68"/>
|
||||
<source>Tracks</source>
|
||||
<translation>Spår</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="89"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="79"/>
|
||||
<source>Route width:</source>
|
||||
<translation>Ruttjocklek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="90"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="80"/>
|
||||
<source>Route style:</source>
|
||||
<translation>Ruttstil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="92"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="84"/>
|
||||
<source>Routes</source>
|
||||
<translation>Rutter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="96"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="129"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="88"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="166"/>
|
||||
<source>Use anti-aliasing</source>
|
||||
<translation>Använd kantutjämning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="127"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="164"/>
|
||||
<source>Line width:</source>
|
||||
<translation>Linjetjocklek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="143"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="52"/>
|
||||
<source>Colors</source>
|
||||
<translation>Färger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="40"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="144"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="186"/>
|
||||
<source>Background color:</source>
|
||||
<translation>Bakgrundsfärg:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="197"/>
|
||||
<source>Paths</source>
|
||||
<translation>Sökvägar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="47"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="187"/>
|
||||
<source>Map opacity:</source>
|
||||
<translation>Kartopacitet</translation>
|
||||
<translation>Kartopacitet:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="49"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="200"/>
|
||||
<source>Map</source>
|
||||
<translation>Karta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="145"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="336"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="199"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="386"/>
|
||||
<source>Graphs</source>
|
||||
<translation>Diagram</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="152"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="66"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="82"/>
|
||||
<source>Width:</source>
|
||||
<translation>Bredd:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="67"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="83"/>
|
||||
<source>Style:</source>
|
||||
<translation>Stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="120"/>
|
||||
<source>Waypoint color:</source>
|
||||
<translation>Navigeringspunktsfärg:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="121"/>
|
||||
<source>Waypoint size:</source>
|
||||
<translation>Navigeringspunktsstorlek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="123"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="139"/>
|
||||
<source>Color:</source>
|
||||
<translation>Färg:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="124"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="140"/>
|
||||
<source>Size:</source>
|
||||
<translation>Storlek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="125"/>
|
||||
<source>Waypoints</source>
|
||||
<translation>Navigeringspunkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="136"/>
|
||||
<source>POI color:</source>
|
||||
<translation>POI-färg:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="137"/>
|
||||
<source>POI size:</source>
|
||||
<translation>POI-storlek:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="141"/>
|
||||
<source>POIs</source>
|
||||
<translation>POI:er</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="198"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="207"/>
|
||||
<source>Moving average window size</source>
|
||||
<translation>Flyttar vanlig fönsterstorlek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="171"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="226"/>
|
||||
<source>Elevation:</source>
|
||||
<translation>Höjd:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="172"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="227"/>
|
||||
<source>Speed:</source>
|
||||
<translation>Hastighet:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="173"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="228"/>
|
||||
<source>Heart rate:</source>
|
||||
<translation>Hjärtfrekvens:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="174"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="229"/>
|
||||
<source>Cadence:</source>
|
||||
<translation>Stegfrekvens:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="175"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="230"/>
|
||||
<source>Power:</source>
|
||||
<translation>Kraft:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="177"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="232"/>
|
||||
<source>Smoothing</source>
|
||||
<translation>Utjämning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="181"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="236"/>
|
||||
<source>Eliminate GPS outliers</source>
|
||||
<translation>Eliminera GPS-extremvärden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="187"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="242"/>
|
||||
<source>Outlier elimination</source>
|
||||
<translation>Extremvärdeseliminering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="194"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="249"/>
|
||||
<source>Smoothing:</source>
|
||||
<translation>Utjämning:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="217"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="267"/>
|
||||
<source>mi/h</source>
|
||||
<translation>mi/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="220"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="270"/>
|
||||
<source>km/h</source>
|
||||
<translation>km/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="224"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="274"/>
|
||||
<source>s</source>
|
||||
<translation>sek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="228"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="278"/>
|
||||
<source>Minimal speed:</source>
|
||||
<translation>Minsta hastighet:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="229"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="279"/>
|
||||
<source>Minimal duration:</source>
|
||||
<translation>Kortast varaktighet:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="236"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="286"/>
|
||||
<source>Filtering</source>
|
||||
<translation>Filtrerar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="237"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="287"/>
|
||||
<source>Pause detection</source>
|
||||
<translation>Pausa identifiering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="249"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="299"/>
|
||||
<source>mi</source>
|
||||
<translation>mi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="252"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="302"/>
|
||||
<source>km</source>
|
||||
<translation>km</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="256"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="306"/>
|
||||
<source>POI radius:</source>
|
||||
<translation>POI-radie:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="262"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="392"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="312"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="436"/>
|
||||
<source>POI</source>
|
||||
<translation>POI</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="269"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="319"/>
|
||||
<source>WYSIWYG</source>
|
||||
<translation>WYSIWYG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="270"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="320"/>
|
||||
<source>High-Resolution</source>
|
||||
<translation>Högupplösning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="275"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="325"/>
|
||||
<source>The printed area is approximately the display area. The map zoom level does not change.</source>
|
||||
<translation>Det utskrivna området är ungefär detsamma som synligt område på skärmen. Kartans zoomnivå ändras inte.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="277"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="327"/>
|
||||
<source>The zoom level will be changed so that the whole content (tracks/waypoints) fits to the printed area and the map resolution is as close as possible to the print resolution.</source>
|
||||
<translation>Zoomnivån kommer att ändras så att hela innehållet (spår/vägpunkter) passar utskriftsområdet och kartresolutionen är så nära som möjligt till utskriftsupplösningen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="299"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="349"/>
|
||||
<source>Name</source>
|
||||
<translation>Namn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="301"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="351"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="303"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="353"/>
|
||||
<source>Distance</source>
|
||||
<translation>Avstånd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="305"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="355"/>
|
||||
<source>Time</source>
|
||||
<translation>Tid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="307"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="357"/>
|
||||
<source>Moving time</source>
|
||||
<translation>Förflyttningstid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="309"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="359"/>
|
||||
<source>Item count (>1)</source>
|
||||
<translation>Objektantal (>1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="324"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="374"/>
|
||||
<source>Separate graph page</source>
|
||||
<translation>Separat diagramsida</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="334"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="384"/>
|
||||
<source>Print mode</source>
|
||||
<translation>Utskriftsläge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="335"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="385"/>
|
||||
<source>Header</source>
|
||||
<translation></translation>
|
||||
<translation>Rubrik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="343"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="393"/>
|
||||
<source>Use OpenGL</source>
|
||||
<translation>Använd OpenGL</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="355"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="399"/>
|
||||
<source>MB</source>
|
||||
<translation>MB</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="359"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="403"/>
|
||||
<source>Image cache size:</source>
|
||||
<translation>Cashe-storlek för bilder:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="372"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="395"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="416"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="439"/>
|
||||
<source>System</source>
|
||||
<translation>System</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="389"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="433"/>
|
||||
<source>Appearance</source>
|
||||
<translation>Utseende</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="391"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="435"/>
|
||||
<source>Data</source>
|
||||
<translation>Data</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="393"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="437"/>
|
||||
<source>Print & Export</source>
|
||||
<translation>Utskrift & Export</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/optionsdialog.cpp" line="422"/>
|
||||
<location filename="../src/optionsdialog.cpp" line="466"/>
|
||||
<source>Options</source>
|
||||
<translation>Alternativ</translation>
|
||||
</message>
|
||||
@ -1228,27 +1291,27 @@
|
||||
<context>
|
||||
<name>WaypointItem</name>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="17"/>
|
||||
<location filename="../src/waypointitem.cpp" line="19"/>
|
||||
<source>Name</source>
|
||||
<translation>Namn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="18"/>
|
||||
<location filename="../src/waypointitem.cpp" line="20"/>
|
||||
<source>Coordinates</source>
|
||||
<translation>Koordinater</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="21"/>
|
||||
<location filename="../src/waypointitem.cpp" line="23"/>
|
||||
<source>Elevation</source>
|
||||
<translation>Höjd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="24"/>
|
||||
<location filename="../src/waypointitem.cpp" line="26"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/waypointitem.cpp" line="27"/>
|
||||
<location filename="../src/waypointitem.cpp" line="29"/>
|
||||
<source>Description</source>
|
||||
<translation>Beskrivning</translation>
|
||||
</message>
|
||||
|
@ -5,7 +5,7 @@
|
||||
; The name of the installer
|
||||
Name "GPXSee"
|
||||
; Program version
|
||||
!define VERSION "4.13"
|
||||
!define VERSION "4.14"
|
||||
|
||||
; The file to write
|
||||
OutFile "GPXSee-${VERSION}.exe"
|
||||
|
@ -5,7 +5,7 @@
|
||||
; The name of the installer
|
||||
Name "GPXSee"
|
||||
; Program version
|
||||
!define VERSION "4.13"
|
||||
!define VERSION "4.14"
|
||||
|
||||
; The file to write
|
||||
OutFile "GPXSee-${VERSION}_x64.exe"
|
||||
|
10
pkg/maps.txt
10
pkg/maps.txt
@ -1,5 +1,5 @@
|
||||
Open Topo Map https://a.tile.opentopomap.org/$z/$x/$y.png
|
||||
4UMaps http://4umaps.eu/$z/$x/$y.png
|
||||
Open Street Map http://tile.openstreetmap.org/$z/$x/$y.png
|
||||
USGS Topo https://navigator.er.usgs.gov/tiles/tcr.cgi/$z/$x/$y.png
|
||||
USGS Imagery https://navigator.er.usgs.gov/tiles/aerial_Imagery.cgi/$z/$x/$y
|
||||
Open Topo Map https://a.tile.opentopomap.org/$z/$x/$y.png 17
|
||||
4UMaps http://4umaps.eu/$z/$x/$y.png 15
|
||||
Open Street Map http://tile.openstreetmap.org/$z/$x/$y.png 19
|
||||
USGS Topo https://navigator.er.usgs.gov/tiles/tcr.cgi/$z/$x/$y.png 15
|
||||
USGS Imagery https://navigator.er.usgs.gov/tiles/aerial_Imagery.cgi/$z/$x/$y 15
|
||||
|
@ -310,7 +310,7 @@ void Atlas::draw(QPainter *painter, const QRectF &rect)
|
||||
}
|
||||
|
||||
// Multiple maps
|
||||
painter->fillRect(rect, Qt::white);
|
||||
painter->fillRect(rect, _backgroundColor);
|
||||
for (int i = _zooms.at(_zoom).first; i <= _zooms.at(_zoom).second; i++) {
|
||||
QRectF ir = rect.intersected(_bounds.at(i).second);
|
||||
if (!ir.isNull())
|
||||
|
@ -13,7 +13,6 @@ public:
|
||||
QString label() const {return tr("Cadence");}
|
||||
void loadData(const Data &data, const QList<PathItem *> &paths);
|
||||
void clear();
|
||||
void setUnits(enum Units) {}
|
||||
void showTracks(bool show);
|
||||
void showRoutes(bool show) {Q_UNUSED(show);}
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
ColorBox::ColorBox(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
_color = Qt::red;
|
||||
_alpha = true;
|
||||
|
||||
setSizePolicy(QSizePolicy::QSizePolicy::Minimum, QSizePolicy::Fixed);
|
||||
}
|
||||
|
||||
@ -51,9 +53,9 @@ void ColorBox::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
if (event->button() != Qt::LeftButton)
|
||||
return;
|
||||
|
||||
QColor color = QColorDialog::getColor(_color, this, QString(),
|
||||
QColorDialog::ShowAlphaChannel);
|
||||
QColorDialog::ColorDialogOptions options = _alpha
|
||||
? QColorDialog::ShowAlphaChannel : (QColorDialog::ColorDialogOptions)0;
|
||||
QColor color = QColorDialog::getColor(_color, this, QString(), options);
|
||||
if (color.isValid()) {
|
||||
_color = color;
|
||||
update();
|
||||
|
@ -12,6 +12,7 @@ public:
|
||||
|
||||
const QColor &color() const {return _color;}
|
||||
void setColor(const QColor &color);
|
||||
void enableAlphaChannel(bool enable) {_alpha = enable;}
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
@ -24,6 +25,7 @@ protected:
|
||||
|
||||
private:
|
||||
QColor _color;
|
||||
bool _alpha;
|
||||
};
|
||||
|
||||
#endif // COLORBOX_H
|
||||
|
23
src/data.cpp
23
src/data.cpp
@ -11,21 +11,30 @@
|
||||
#include "data.h"
|
||||
|
||||
|
||||
static GPXParser gpx;
|
||||
static TCXParser tcx;
|
||||
static KMLParser kml;
|
||||
static FITParser fit;
|
||||
static CSVParser csv;
|
||||
static IGCParser igc;
|
||||
static NMEAParser nmea;
|
||||
|
||||
static QHash<QString, Parser*> parsers()
|
||||
{
|
||||
QHash<QString, Parser*> hash;
|
||||
|
||||
hash.insert("gpx", new GPXParser());
|
||||
hash.insert("tcx", new TCXParser());
|
||||
hash.insert("kml", new KMLParser());
|
||||
hash.insert("fit", new FITParser());
|
||||
hash.insert("csv", new CSVParser());
|
||||
hash.insert("igc", new IGCParser());
|
||||
hash.insert("nmea", new NMEAParser());
|
||||
hash.insert("gpx", &gpx);
|
||||
hash.insert("tcx", &tcx);
|
||||
hash.insert("kml", &kml);
|
||||
hash.insert("fit", &fit);
|
||||
hash.insert("csv", &csv);
|
||||
hash.insert("igc", &igc);
|
||||
hash.insert("nmea", &nmea);
|
||||
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
||||
QHash<QString, Parser*> Data::_parsers = parsers();
|
||||
|
||||
Data::~Data()
|
||||
|
@ -70,7 +70,7 @@ qreal EmptyMap::zoomOut()
|
||||
|
||||
void EmptyMap::draw(QPainter *painter, const QRectF &rect)
|
||||
{
|
||||
painter->fillRect(rect, Qt::white);
|
||||
painter->fillRect(rect, _backgroundColor);
|
||||
}
|
||||
|
||||
QPointF EmptyMap::ll2xy(const Coordinates &c)
|
||||
|
@ -20,7 +20,7 @@ public:
|
||||
virtual QString label() const = 0;
|
||||
virtual void loadData(const Data &data, const QList<PathItem *> &paths) = 0;
|
||||
virtual void clear() {}
|
||||
virtual void setUnits(enum Units units) {Q_UNUSED(units)}
|
||||
virtual void setUnits(enum Units units) {GraphView::setUnits(units);}
|
||||
virtual void setTimeType(enum TimeType type) {Q_UNUSED(type)}
|
||||
virtual void showTracks(bool show) {Q_UNUSED(show)}
|
||||
virtual void showRoutes(bool show) {Q_UNUSED(show)}
|
||||
|
@ -461,3 +461,8 @@ void GraphView::useOpenGL(bool use)
|
||||
else
|
||||
setViewport(new QWidget);
|
||||
}
|
||||
|
||||
void GraphView::useAntiAliasing(bool use)
|
||||
{
|
||||
setRenderHint(QPainter::Antialiasing, use);
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ public:
|
||||
void plot(QPainter *painter, const QRectF &target, qreal scale);
|
||||
|
||||
void useOpenGL(bool use);
|
||||
void useAntiAliasing(bool use);
|
||||
|
||||
signals:
|
||||
void sliderPositionChanged(qreal);
|
||||
|
138
src/gui.cpp
138
src/gui.cpp
@ -696,10 +696,11 @@ void GUI::dataSources()
|
||||
"following file:")
|
||||
+ "</p><p><code>" + USER_MAP_FILE + "</code></p><p>"
|
||||
+ tr("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:")
|
||||
+ "</p><p><code>Map1 http://tile.server.com/map/$z/$x/$y.png"
|
||||
"name, tiles URL and an optional maximal zoom level 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:")
|
||||
+ "</p><p><code>Map1 http://tile.server.com/map/$z/$x/$y.png 15"
|
||||
"<br/>Map2 http://mapserver.org/map/$z-$x-$y</code></p>"
|
||||
|
||||
+ "<h4>" + tr("Offline maps") + "</h4><p>"
|
||||
@ -856,6 +857,19 @@ void GUI::closePOIFiles()
|
||||
|
||||
void GUI::openOptions()
|
||||
{
|
||||
#define SET_VIEW_OPTION(option, action) \
|
||||
if (options.option != _options.option) \
|
||||
_pathView->action(options.option)
|
||||
#define SET_TAB_OPTION(option, action) \
|
||||
if (options.option != _options.option) \
|
||||
for (int i = 0; i < _tabs.count(); i++) \
|
||||
_tabs.at(i)->action(options.option)
|
||||
#define SET_TRACK_OPTION(option, action) \
|
||||
if (options.option != _options.option) { \
|
||||
Track::action(options.option); \
|
||||
reload = true; \
|
||||
}
|
||||
|
||||
Options options(_options);
|
||||
bool reload = false;
|
||||
|
||||
@ -863,73 +877,36 @@ void GUI::openOptions()
|
||||
if (dialog.exec() != QDialog::Accepted)
|
||||
return;
|
||||
|
||||
if (options.palette != _options.palette) {
|
||||
_pathView->setPalette(options.palette);
|
||||
for (int i = 0; i < _tabs.count(); i++)
|
||||
_tabs.at(i)->setPalette(options.palette);
|
||||
}
|
||||
if (options.mapOpacity != _options.mapOpacity)
|
||||
_pathView->setMapOpacity(options.mapOpacity);
|
||||
if (options.trackWidth != _options.trackWidth)
|
||||
_pathView->setTrackWidth(options.trackWidth);
|
||||
if (options.routeWidth != _options.routeWidth)
|
||||
_pathView->setRouteWidth(options.routeWidth);
|
||||
if (options.trackStyle != _options.trackStyle)
|
||||
_pathView->setTrackStyle(options.trackStyle);
|
||||
if (options.routeStyle != _options.routeStyle)
|
||||
_pathView->setRouteStyle(options.routeStyle);
|
||||
if (options.pathAntiAliasing != _options.pathAntiAliasing)
|
||||
_pathView->setRenderHint(QPainter::Antialiasing,
|
||||
options.pathAntiAliasing);
|
||||
if (options.graphWidth != _options.graphWidth)
|
||||
for (int i = 0; i < _tabs.count(); i++)
|
||||
_tabs.at(i)->setGraphWidth(options.graphWidth);
|
||||
if (options.graphAntiAliasing != _options.graphAntiAliasing)
|
||||
for (int i = 0; i < _tabs.count(); i++)
|
||||
_tabs.at(i)->setRenderHint(QPainter::Antialiasing,
|
||||
options.graphAntiAliasing);
|
||||
SET_VIEW_OPTION(palette, setPalette);
|
||||
SET_VIEW_OPTION(mapOpacity, setMapOpacity);
|
||||
SET_VIEW_OPTION(backgroundColor, setBackgroundColor);
|
||||
SET_VIEW_OPTION(trackWidth, setTrackWidth);
|
||||
SET_VIEW_OPTION(routeWidth, setRouteWidth);
|
||||
SET_VIEW_OPTION(trackStyle, setTrackStyle);
|
||||
SET_VIEW_OPTION(routeStyle, setRouteStyle);
|
||||
SET_VIEW_OPTION(waypointSize, setWaypointSize);
|
||||
SET_VIEW_OPTION(waypointColor, setWaypointColor);
|
||||
SET_VIEW_OPTION(poiSize, setPOISize);
|
||||
SET_VIEW_OPTION(poiColor, setPOIColor);
|
||||
SET_VIEW_OPTION(pathAntiAliasing, useAntiAliasing);
|
||||
SET_VIEW_OPTION(useOpenGL, useOpenGL);
|
||||
|
||||
if (options.elevationFilter != _options.elevationFilter) {
|
||||
Track::setElevationFilter(options.elevationFilter);
|
||||
reload = true;
|
||||
}
|
||||
if (options.speedFilter != _options.speedFilter) {
|
||||
Track::setSpeedFilter(options.speedFilter);
|
||||
reload = true;
|
||||
}
|
||||
if (options.heartRateFilter != _options.heartRateFilter) {
|
||||
Track::setHeartRateFilter(options.heartRateFilter);
|
||||
reload = true;
|
||||
}
|
||||
if (options.cadenceFilter != _options.cadenceFilter) {
|
||||
Track::setCadenceFilter(options.cadenceFilter);
|
||||
reload = true;
|
||||
}
|
||||
if (options.powerFilter != _options.powerFilter) {
|
||||
Track::setPowerFilter(options.powerFilter);
|
||||
reload = true;
|
||||
}
|
||||
if (options.outlierEliminate != _options.outlierEliminate) {
|
||||
Track::setOutlierElimination(options.outlierEliminate);
|
||||
reload = true;
|
||||
}
|
||||
if (options.pauseSpeed != _options.pauseSpeed) {
|
||||
Track::setPauseSpeed(options.pauseSpeed);
|
||||
reload = true;
|
||||
}
|
||||
if (options.pauseInterval != _options.pauseInterval) {
|
||||
Track::setPauseInterval(options.pauseInterval);
|
||||
reload = true;
|
||||
}
|
||||
SET_TAB_OPTION(palette, setPalette);
|
||||
SET_TAB_OPTION(graphWidth, setGraphWidth);
|
||||
SET_TAB_OPTION(graphAntiAliasing, useAntiAliasing);
|
||||
SET_TAB_OPTION(useOpenGL, useOpenGL);
|
||||
|
||||
SET_TRACK_OPTION(elevationFilter, setElevationFilter);
|
||||
SET_TRACK_OPTION(speedFilter, setSpeedFilter);
|
||||
SET_TRACK_OPTION(heartRateFilter, setHeartRateFilter);
|
||||
SET_TRACK_OPTION(cadenceFilter, setCadenceFilter);
|
||||
SET_TRACK_OPTION(powerFilter, setPowerFilter);
|
||||
SET_TRACK_OPTION(outlierEliminate, setOutlierElimination);
|
||||
SET_TRACK_OPTION(pauseSpeed, setPauseSpeed);
|
||||
SET_TRACK_OPTION(pauseInterval, setPauseInterval);
|
||||
|
||||
if (options.poiRadius != _options.poiRadius)
|
||||
_poi->setRadius(options.poiRadius);
|
||||
|
||||
if (options.useOpenGL != _options.useOpenGL) {
|
||||
_pathView->useOpenGL(options.useOpenGL);
|
||||
for (int i = 0; i < _tabs.count(); i++)
|
||||
_tabs.at(i)->useOpenGL(options.useOpenGL);
|
||||
}
|
||||
if (options.pixmapCache != _options.pixmapCache)
|
||||
QPixmapCache::setCacheLimit(options.pixmapCache * 1024);
|
||||
|
||||
@ -1030,7 +1007,7 @@ void GUI::plot(QPrinter *printer)
|
||||
} else
|
||||
gh = 0;
|
||||
_pathView->plot(&p, QRectF(0, ih + mh, printer->width(), printer->height()
|
||||
- (ih + 2*mh + gh)), _options.hiresPrint);
|
||||
- (ih + 2*mh + gh)), ratio, _options.hiresPrint);
|
||||
|
||||
if (_graphTabWidget->isVisible() && _options.separateGraphPage) {
|
||||
printer->newPage();
|
||||
@ -1607,6 +1584,8 @@ void GUI::writeSettings()
|
||||
settings.setValue(PALETTE_SHIFT_SETTING, _options.palette.shift());
|
||||
if (_options.mapOpacity != MAP_OPACITY_DEFAULT)
|
||||
settings.setValue(MAP_OPACITY_SETTING, _options.mapOpacity);
|
||||
if (_options.backgroundColor != BACKGROUND_COLOR_DEFAULT)
|
||||
settings.setValue(BACKGROUND_COLOR_SETTING, _options.backgroundColor);
|
||||
if (_options.trackWidth != TRACK_WIDTH_DEFAULT)
|
||||
settings.setValue(TRACK_WIDTH_SETTING, _options.trackWidth);
|
||||
if (_options.routeWidth != ROUTE_WIDTH_DEFAULT)
|
||||
@ -1615,6 +1594,14 @@ void GUI::writeSettings()
|
||||
settings.setValue(TRACK_STYLE_SETTING, (int)_options.trackStyle);
|
||||
if (_options.routeStyle != ROUTE_STYLE_DEFAULT)
|
||||
settings.setValue(ROUTE_STYLE_SETTING, (int)_options.routeStyle);
|
||||
if (_options.waypointSize != WAYPOINT_SIZE_DEFAULT)
|
||||
settings.setValue(WAYPOINT_SIZE_SETTING, _options.waypointSize);
|
||||
if (_options.waypointColor != WAYPOINT_COLOR_DEFAULT)
|
||||
settings.setValue(WAYPOINT_COLOR_SETTING, _options.waypointColor);
|
||||
if (_options.poiSize != POI_SIZE_DEFAULT)
|
||||
settings.setValue(POI_SIZE_SETTING, _options.poiSize);
|
||||
if (_options.poiColor != POI_COLOR_DEFAULT)
|
||||
settings.setValue(POI_COLOR_SETTING, _options.poiColor);
|
||||
if (_options.graphWidth != GRAPH_WIDTH_DEFAULT)
|
||||
settings.setValue(GRAPH_WIDTH_SETTING, _options.graphWidth);
|
||||
if (_options.pathAntiAliasing != PATH_AA_DEFAULT)
|
||||
@ -1808,6 +1795,8 @@ void GUI::readSettings()
|
||||
_options.palette = Palette(pc, ps);
|
||||
_options.mapOpacity = settings.value(MAP_OPACITY_SETTING,
|
||||
MAP_OPACITY_DEFAULT).toInt();
|
||||
_options.backgroundColor = settings.value(BACKGROUND_COLOR_SETTING,
|
||||
BACKGROUND_COLOR_DEFAULT).value<QColor>();
|
||||
_options.trackWidth = settings.value(TRACK_WIDTH_SETTING,
|
||||
TRACK_WIDTH_DEFAULT).toInt();
|
||||
_options.routeWidth = settings.value(ROUTE_WIDTH_SETTING,
|
||||
@ -1818,6 +1807,14 @@ void GUI::readSettings()
|
||||
(int)ROUTE_STYLE_DEFAULT).toInt();
|
||||
_options.pathAntiAliasing = settings.value(PATH_AA_SETTING, PATH_AA_DEFAULT)
|
||||
.toBool();
|
||||
_options.waypointSize = settings.value(WAYPOINT_SIZE_SETTING,
|
||||
WAYPOINT_SIZE_DEFAULT).toInt();
|
||||
_options.waypointColor = settings.value(WAYPOINT_COLOR_SETTING,
|
||||
WAYPOINT_COLOR_DEFAULT).value<QColor>();
|
||||
_options.poiSize = settings.value(POI_SIZE_SETTING, POI_SIZE_DEFAULT)
|
||||
.toInt();
|
||||
_options.poiColor = settings.value(POI_COLOR_SETTING, POI_COLOR_DEFAULT)
|
||||
.value<QColor>();
|
||||
_options.graphWidth = settings.value(GRAPH_WIDTH_SETTING,
|
||||
GRAPH_WIDTH_DEFAULT).toInt();
|
||||
_options.graphAntiAliasing = settings.value(GRAPH_AA_SETTING,
|
||||
@ -1863,10 +1860,15 @@ void GUI::readSettings()
|
||||
|
||||
_pathView->setPalette(_options.palette);
|
||||
_pathView->setMapOpacity(_options.mapOpacity);
|
||||
_pathView->setBackgroundColor(_options.backgroundColor);
|
||||
_pathView->setTrackWidth(_options.trackWidth);
|
||||
_pathView->setRouteWidth(_options.routeWidth);
|
||||
_pathView->setTrackStyle(_options.trackStyle);
|
||||
_pathView->setRouteStyle(_options.routeStyle);
|
||||
_pathView->setWaypointSize(_options.waypointSize);
|
||||
_pathView->setWaypointColor(_options.waypointColor);
|
||||
_pathView->setPOISize(_options.poiSize);
|
||||
_pathView->setPOIColor(_options.poiColor);
|
||||
_pathView->setRenderHint(QPainter::Antialiasing, _options.pathAntiAliasing);
|
||||
if (_options.useOpenGL)
|
||||
_pathView->useOpenGL(true);
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
#include <QRectF>
|
||||
#include <QColor>
|
||||
|
||||
class QPainter;
|
||||
class Coordinates;
|
||||
@ -14,7 +15,7 @@ class Map : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Map(QObject *parent = 0) : QObject(parent) {}
|
||||
Map(QObject *parent = 0) : QObject(parent) {_backgroundColor = Qt::white;}
|
||||
|
||||
virtual const QString &name() const = 0;
|
||||
|
||||
@ -37,8 +38,13 @@ public:
|
||||
virtual void load() {}
|
||||
virtual void unload() {}
|
||||
|
||||
void setBackgroundColor(const QColor &color) {_backgroundColor = color;}
|
||||
|
||||
signals:
|
||||
void loaded();
|
||||
|
||||
protected:
|
||||
QColor _backgroundColor;
|
||||
};
|
||||
|
||||
#endif // MAP_H
|
||||
|
@ -1,24 +1,38 @@
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
#include "range.h"
|
||||
#include "atlas.h"
|
||||
#include "offlinemap.h"
|
||||
#include "onlinemap.h"
|
||||
#include "maplist.h"
|
||||
|
||||
|
||||
#define ZOOM_MAX 18
|
||||
#define ZOOM_MIN 2
|
||||
|
||||
Map *MapList::loadListEntry(const QByteArray &line)
|
||||
{
|
||||
int max;
|
||||
|
||||
QList<QByteArray> list = line.split('\t');
|
||||
if (list.size() != 2)
|
||||
if (list.size() < 2)
|
||||
return 0;
|
||||
|
||||
QByteArray ba1 = list[0].trimmed();
|
||||
QByteArray ba2 = list[1].trimmed();
|
||||
QByteArray ba1 = list.at(0).trimmed();
|
||||
QByteArray ba2 = list.at(1).trimmed();
|
||||
if (ba1.isEmpty() || ba2.isEmpty())
|
||||
return 0;
|
||||
|
||||
if (list.size() == 3) {
|
||||
bool ok;
|
||||
max = QString(list.at(2).trimmed()).toInt(&ok);
|
||||
if (!ok)
|
||||
return 0;
|
||||
} else
|
||||
max = ZOOM_MAX;
|
||||
|
||||
return new OnlineMap(QString::fromUtf8(ba1.data(), ba1.size()),
|
||||
QString::fromLatin1(ba2.data(), ba2.size()), this);
|
||||
QString::fromLatin1(ba2.data(), ba2.size()), Range(ZOOM_MIN, max), this);
|
||||
}
|
||||
|
||||
bool MapList::loadList(const QString &path)
|
||||
|
@ -507,16 +507,16 @@ bool NMEAParser::parse(QFile *file, QList<TrackData> &tracks,
|
||||
|
||||
if (validSentence(line, len)) {
|
||||
if (!memcmp(line + 3, "RMC,", 4)) {
|
||||
if (!readRMC(track, line + 7, len))
|
||||
if (!readRMC(track, line + 7, len - 7))
|
||||
return false;
|
||||
} else if (!memcmp(line + 3, "GGA,", 4)) {
|
||||
if (!readGGA(track, line + 7, len))
|
||||
if (!readGGA(track, line + 7, len - 7))
|
||||
return false;
|
||||
} else if (!memcmp(line + 3, "WPL,", 4)) {
|
||||
if (!readWPL(waypoints, line + 7, len))
|
||||
if (!readWPL(waypoints, line + 7, len - 7))
|
||||
return false;
|
||||
} else if (!memcmp(line + 3, "ZDA,", 4)) {
|
||||
if (!readZDA(line + 7, len))
|
||||
if (!readZDA(line + 7, len - 7))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -609,7 +609,8 @@ void OfflineMap::drawTiled(QPainter *painter, const QRectF &rect)
|
||||
int y = tl.y() + j * _tileSize.height();
|
||||
|
||||
if (!QRectF(QPointF(x, y), _tileSize).intersects(bounds())) {
|
||||
painter->fillRect(QRectF(QPoint(x, y), _tileSize), Qt::white);
|
||||
painter->fillRect(QRectF(QPoint(x, y), _tileSize),
|
||||
_backgroundColor);
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -631,7 +632,8 @@ void OfflineMap::drawTiled(QPainter *painter, const QRectF &rect)
|
||||
if (pixmap.isNull()) {
|
||||
qWarning("%s: error loading tile image", qPrintable(
|
||||
_tileName.arg(QString::number(x), QString::number(y))));
|
||||
painter->fillRect(QRectF(QPoint(x, y), _tileSize), Qt::white);
|
||||
painter->fillRect(QRectF(QPoint(x, y), _tileSize),
|
||||
_backgroundColor);
|
||||
} else
|
||||
painter->drawPixmap(QPoint(x, y), pixmap);
|
||||
}
|
||||
@ -652,7 +654,7 @@ void OfflineMap::drawOZF(QPainter *painter, const QRectF &rect)
|
||||
|
||||
if (!QRectF(QPointF(x, y), _ozf.tileSize()).intersects(bounds())) {
|
||||
painter->fillRect(QRectF(QPoint(x, y), _ozf.tileSize()),
|
||||
Qt::white);
|
||||
_backgroundColor);
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -668,7 +670,7 @@ void OfflineMap::drawOZF(QPainter *painter, const QRectF &rect)
|
||||
if (pixmap.isNull()) {
|
||||
qWarning("%s: error loading tile image", qPrintable(key));
|
||||
painter->fillRect(QRectF(QPoint(x, y), _ozf.tileSize()),
|
||||
Qt::white);
|
||||
_backgroundColor);
|
||||
} else
|
||||
painter->drawPixmap(QPoint(x, y), pixmap);
|
||||
}
|
||||
@ -678,7 +680,7 @@ void OfflineMap::drawOZF(QPainter *painter, const QRectF &rect)
|
||||
void OfflineMap::drawImage(QPainter *painter, const QRectF &rect)
|
||||
{
|
||||
if (!_img || _img->isNull())
|
||||
painter->fillRect(rect, Qt::white);
|
||||
painter->fillRect(rect, _backgroundColor);
|
||||
else {
|
||||
QRect r(rect.toRect());
|
||||
painter->drawImage(r.left(), r.top(), *_img, r.left(), r.top(),
|
||||
|
@ -12,8 +12,6 @@
|
||||
#include "onlinemap.h"
|
||||
|
||||
|
||||
#define ZOOM_MAX 18
|
||||
#define ZOOM_MIN 3
|
||||
#define TILE_SIZE 256
|
||||
|
||||
static QPoint mercator2tile(const QPointF &m, int z)
|
||||
@ -36,16 +34,27 @@ static int scale2zoom(qreal scale)
|
||||
return (int)log2(360.0/(scale * (qreal)TILE_SIZE));
|
||||
}
|
||||
|
||||
static bool loadTileFile(Tile &tile, const QString &file)
|
||||
{
|
||||
if (!tile.pixmap().load(file)) {
|
||||
qWarning("%s: error loading tile file\n", qPrintable(file));
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Downloader *OnlineMap::downloader;
|
||||
|
||||
OnlineMap::OnlineMap(const QString &name, const QString &url, QObject *parent)
|
||||
: Map(parent)
|
||||
OnlineMap::OnlineMap(const QString &name, const QString &url,
|
||||
const Range &zooms, QObject *parent) : Map(parent)
|
||||
{
|
||||
_name = name;
|
||||
_url = url;
|
||||
_block = false;
|
||||
_zoom = ZOOM_MAX;
|
||||
_zooms = zooms;
|
||||
_zoom = zooms.max();
|
||||
|
||||
connect(downloader, SIGNAL(finished()), this, SLOT(emitLoaded()));
|
||||
|
||||
@ -54,6 +63,12 @@ OnlineMap::OnlineMap(const QString &name, const QString &url, QObject *parent)
|
||||
qWarning("Error creating tiles dir: %s\n", qPrintable(path));
|
||||
}
|
||||
|
||||
void OnlineMap::fillTile(Tile &tile)
|
||||
{
|
||||
tile.pixmap() = QPixmap(TILE_SIZE, TILE_SIZE);
|
||||
tile.pixmap().fill(_backgroundColor);
|
||||
}
|
||||
|
||||
void OnlineMap::emitLoaded()
|
||||
{
|
||||
emit loaded();
|
||||
@ -115,23 +130,7 @@ void OnlineMap::loadTilesSync(QList<Tile> &list)
|
||||
}
|
||||
}
|
||||
|
||||
void OnlineMap::fillTile(Tile &tile)
|
||||
{
|
||||
tile.pixmap() = QPixmap(TILE_SIZE, TILE_SIZE);
|
||||
tile.pixmap().fill();
|
||||
}
|
||||
|
||||
bool OnlineMap::loadTileFile(Tile &tile, const QString &file)
|
||||
{
|
||||
if (!tile.pixmap().load(file)) {
|
||||
qWarning("%s: error loading tile file\n", qPrintable(file));
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
QString OnlineMap::tileUrl(const Tile &tile)
|
||||
QString OnlineMap::tileUrl(const Tile &tile) const
|
||||
{
|
||||
QString url(_url);
|
||||
|
||||
@ -142,7 +141,7 @@ QString OnlineMap::tileUrl(const Tile &tile)
|
||||
return url;
|
||||
}
|
||||
|
||||
QString OnlineMap::tileFile(const Tile &tile)
|
||||
QString OnlineMap::tileFile(const Tile &tile) const
|
||||
{
|
||||
QString file = TILES_DIR + QString("/%1/%2-%3-%4").arg(name())
|
||||
.arg(tile.zoom()).arg(tile.xy().x()).arg(tile.xy().y());
|
||||
@ -166,20 +165,26 @@ QRectF OnlineMap::bounds() const
|
||||
1.0/zoom2scale(_zoom));
|
||||
}
|
||||
|
||||
int OnlineMap::limitZoom(int zoom) const
|
||||
{
|
||||
if (zoom < _zooms.min())
|
||||
return _zooms.min();
|
||||
if (zoom > _zooms.max())
|
||||
return _zooms.max();
|
||||
|
||||
return zoom;
|
||||
}
|
||||
|
||||
qreal OnlineMap::zoomFit(const QSize &size, const RectC &br)
|
||||
{
|
||||
if (!br.isValid())
|
||||
_zoom = ZOOM_MAX;
|
||||
_zoom = _zooms.max();
|
||||
else {
|
||||
QRectF tbr(Mercator().ll2xy(br.topLeft()),
|
||||
Mercator().ll2xy(br.bottomRight()));
|
||||
QPointF sc(tbr.width() / size.width(), tbr.height() / size.height());
|
||||
|
||||
_zoom = scale2zoom(qMax(sc.x(), sc.y()));
|
||||
if (_zoom < ZOOM_MIN)
|
||||
_zoom = ZOOM_MIN;
|
||||
if (_zoom > ZOOM_MAX)
|
||||
_zoom = ZOOM_MAX;
|
||||
_zoom = limitZoom(scale2zoom(qMax(sc.x(), sc.y())));
|
||||
}
|
||||
|
||||
return _zoom;
|
||||
@ -187,13 +192,8 @@ qreal OnlineMap::zoomFit(const QSize &size, const RectC &br)
|
||||
|
||||
qreal OnlineMap::zoomFit(qreal resolution, const Coordinates &c)
|
||||
{
|
||||
_zoom = (int)(log2((WGS84_RADIUS * 2 * M_PI * cos(deg2rad(c.lat())))
|
||||
/ resolution) - log2(TILE_SIZE));
|
||||
|
||||
if (_zoom < ZOOM_MIN)
|
||||
_zoom = ZOOM_MIN;
|
||||
if (_zoom > ZOOM_MAX)
|
||||
_zoom = ZOOM_MAX;
|
||||
_zoom = limitZoom((int)(log2((WGS84_RADIUS * 2 * M_PI
|
||||
* cos(deg2rad(c.lat()))) / resolution) - log2(TILE_SIZE)));
|
||||
|
||||
return _zoom;
|
||||
}
|
||||
@ -208,13 +208,13 @@ qreal OnlineMap::resolution(const QPointF &p) const
|
||||
|
||||
qreal OnlineMap::zoomIn()
|
||||
{
|
||||
_zoom = qMin(_zoom + 1, ZOOM_MAX);
|
||||
_zoom = qMin(_zoom + 1, _zooms.max());
|
||||
return _zoom;
|
||||
}
|
||||
|
||||
qreal OnlineMap::zoomOut()
|
||||
{
|
||||
_zoom = qMax(_zoom - 1, ZOOM_MIN);
|
||||
_zoom = qMax(_zoom - 1, _zooms.min());
|
||||
return _zoom;
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include "map.h"
|
||||
#include "tile.h"
|
||||
#include "range.h"
|
||||
|
||||
class Downloader;
|
||||
|
||||
@ -11,7 +12,8 @@ class OnlineMap : public Map
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
OnlineMap(const QString &name, const QString &url, QObject *parent = 0);
|
||||
OnlineMap(const QString &name, const QString &url, const Range &zooms,
|
||||
QObject *parent = 0);
|
||||
|
||||
const QString &name() const {return _name;}
|
||||
|
||||
@ -39,13 +41,14 @@ private slots:
|
||||
void emitLoaded();
|
||||
|
||||
private:
|
||||
QString tileUrl(const Tile &tile);
|
||||
QString tileFile(const Tile &tile);
|
||||
bool loadTileFile(Tile &tile, const QString &file);
|
||||
void fillTile(Tile &tile);
|
||||
QString tileUrl(const Tile &tile) const;
|
||||
QString tileFile(const Tile &tile) const;
|
||||
void loadTilesAsync(QList<Tile> &list);
|
||||
void loadTilesSync(QList<Tile> &list);
|
||||
int limitZoom(int zoom) const;
|
||||
|
||||
Range _zooms;
|
||||
int _zoom;
|
||||
QString _name;
|
||||
QString _url;
|
||||
|
@ -24,8 +24,20 @@
|
||||
#define MENU_MARGIN 20
|
||||
#define MENU_ICON_SIZE 32
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
static QFrame *line()
|
||||
{
|
||||
QFrame *l = new QFrame();
|
||||
l->setFrameShape(QFrame::HLine);
|
||||
l->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
return l;
|
||||
}
|
||||
#endif
|
||||
|
||||
QWidget *OptionsDialog::createAppearancePage()
|
||||
{
|
||||
// Paths
|
||||
_baseColor = new ColorBox();
|
||||
_baseColor->setColor(_options->palette.color());
|
||||
_colorOffset = new QDoubleSpinBox();
|
||||
@ -37,35 +49,9 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
paletteLayout->addRow(tr("Base color:"), _baseColor);
|
||||
paletteLayout->addRow(tr("Palette shift:"), _colorOffset);
|
||||
#ifndef Q_OS_MAC
|
||||
QGroupBox *pathsBox = new QGroupBox(tr("Paths"));
|
||||
pathsBox->setLayout(paletteLayout);
|
||||
#endif
|
||||
|
||||
_mapOpacity = new PercentSlider();
|
||||
_mapOpacity->setValue(_options->mapOpacity);
|
||||
QFormLayout *mapLayout = new QFormLayout();
|
||||
mapLayout->addRow(tr("Map opacity:"), _mapOpacity);
|
||||
#ifndef Q_OS_MAC
|
||||
QGroupBox *mapBox = new QGroupBox(tr("Map"));
|
||||
mapBox->setLayout(mapLayout);
|
||||
#endif
|
||||
|
||||
QWidget *colorTab = new QWidget();
|
||||
QVBoxLayout *colorTabLayout = new QVBoxLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
QFrame *l0 = new QFrame();
|
||||
l0->setFrameShape(QFrame::HLine);
|
||||
l0->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
colorTabLayout->addLayout(paletteLayout);
|
||||
colorTabLayout->addWidget(l0);
|
||||
colorTabLayout->addLayout(mapLayout);
|
||||
#else // Q_OS_MAC
|
||||
colorTabLayout->addWidget(pathsBox);
|
||||
colorTabLayout->addWidget(mapBox);
|
||||
#endif // O_OS_MAC
|
||||
colorTabLayout->addStretch();
|
||||
colorTab->setLayout(colorTabLayout);
|
||||
QGroupBox *colorBox = new QGroupBox(tr("Colors"));
|
||||
colorBox->setLayout(paletteLayout);
|
||||
#endif // Q_OS_MAC
|
||||
|
||||
_trackWidth = new QSpinBox();
|
||||
_trackWidth->setValue(_options->trackWidth);
|
||||
@ -73,12 +59,15 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
_trackStyle = new StyleComboBox();
|
||||
_trackStyle->setValue(_options->trackStyle);
|
||||
QFormLayout *trackLayout = new QFormLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
trackLayout->addRow(tr("Track width:"), _trackWidth);
|
||||
trackLayout->addRow(tr("Track style:"), _trackStyle);
|
||||
#ifndef Q_OS_MAC
|
||||
#else // Q_OS_MAC
|
||||
trackLayout->addRow(tr("Width:"), _trackWidth);
|
||||
trackLayout->addRow(tr("Style:"), _trackStyle);
|
||||
QGroupBox *trackBox = new QGroupBox(tr("Tracks"));
|
||||
trackBox->setLayout(trackLayout);
|
||||
#endif
|
||||
#endif // Q_OS_MAC
|
||||
|
||||
_routeWidth = new QSpinBox();
|
||||
_routeWidth->setValue(_options->routeWidth);
|
||||
@ -86,9 +75,12 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
_routeStyle = new StyleComboBox();
|
||||
_routeStyle->setValue(_options->routeStyle);
|
||||
QFormLayout *routeLayout = new QFormLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
routeLayout->addRow(tr("Route width:"), _routeWidth);
|
||||
routeLayout->addRow(tr("Route style:"), _routeStyle);
|
||||
#ifndef Q_OS_MAC
|
||||
#else // Q_OS_MAC
|
||||
routeLayout->addRow(tr("Width:"), _routeWidth);
|
||||
routeLayout->addRow(tr("Style:"), _routeStyle);
|
||||
QGroupBox *routeBox = new QGroupBox(tr("Routes"));
|
||||
routeBox->setLayout(routeLayout);
|
||||
#endif // Q_OS_MAC
|
||||
@ -101,18 +93,14 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
QWidget *pathTab = new QWidget();
|
||||
QVBoxLayout *pathTabLayout = new QVBoxLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
QFrame *l1 = new QFrame();
|
||||
l1->setFrameShape(QFrame::HLine);
|
||||
l1->setFrameShadow(QFrame::Sunken);
|
||||
QFrame *l2 = new QFrame();
|
||||
l2->setFrameShape(QFrame::HLine);
|
||||
l2->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
pathTabLayout->addLayout(paletteLayout);
|
||||
pathTabLayout->addWidget(line());
|
||||
pathTabLayout->addLayout(trackLayout);
|
||||
pathTabLayout->addWidget(l1);
|
||||
pathTabLayout->addWidget(line());
|
||||
pathTabLayout->addLayout(routeLayout);
|
||||
pathTabLayout->addWidget(l2);
|
||||
pathTabLayout->addWidget(line());
|
||||
#else // Q_OS_MAC
|
||||
pathTabLayout->addWidget(colorBox);
|
||||
pathTabLayout->addWidget(trackBox);
|
||||
pathTabLayout->addWidget(routeBox);
|
||||
#endif // Q_OS_MAC
|
||||
@ -120,6 +108,55 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
pathTabLayout->addStretch();
|
||||
pathTab->setLayout(pathTabLayout);
|
||||
|
||||
|
||||
// Waypoints
|
||||
_waypointSize = new QSpinBox();
|
||||
_waypointSize->setMinimum(1);
|
||||
_waypointSize->setValue(_options->waypointSize);
|
||||
_waypointColor = new ColorBox();
|
||||
_waypointColor->setColor(_options->waypointColor);
|
||||
QFormLayout *waypointLayout = new QFormLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
waypointLayout->addRow(tr("Waypoint color:"), _waypointColor);
|
||||
waypointLayout->addRow(tr("Waypoint size:"), _waypointSize);
|
||||
#else // Q_OS_MAC
|
||||
waypointLayout->addRow(tr("Color:"), _waypointColor);
|
||||
waypointLayout->addRow(tr("Size:"), _waypointSize);
|
||||
QGroupBox *waypointBox = new QGroupBox(tr("Waypoints"));
|
||||
waypointBox->setLayout(waypointLayout);
|
||||
#endif // Q_OS_MAC
|
||||
|
||||
_poiSize = new QSpinBox();
|
||||
_poiSize->setMinimum(1);
|
||||
_poiSize->setValue(_options->poiSize);
|
||||
_poiColor = new ColorBox();
|
||||
_poiColor->setColor(_options->poiColor);
|
||||
QFormLayout *poiLayout = new QFormLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
poiLayout->addRow(tr("POI color:"), _poiColor);
|
||||
poiLayout->addRow(tr("POI size:"), _poiSize);
|
||||
#else // Q_OS_MAC
|
||||
poiLayout->addRow(tr("Color:"), _poiColor);
|
||||
poiLayout->addRow(tr("Size:"), _poiSize);
|
||||
QGroupBox *poiBox = new QGroupBox(tr("POIs"));
|
||||
poiBox->setLayout(poiLayout);
|
||||
#endif // Q_OS_MAC
|
||||
|
||||
QWidget *pointTab = new QWidget();
|
||||
QVBoxLayout *pointTabLayout = new QVBoxLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
pointTabLayout->addLayout(waypointLayout);
|
||||
pointTabLayout->addWidget(line());
|
||||
pointTabLayout->addLayout(poiLayout);
|
||||
#else // Q_OS_MAC
|
||||
pointTabLayout->addWidget(waypointBox);
|
||||
pointTabLayout->addWidget(poiBox);
|
||||
#endif // Q_OS_MAC
|
||||
pointTabLayout->addStretch();
|
||||
pointTab->setLayout(pointTabLayout);
|
||||
|
||||
|
||||
// Graphs
|
||||
_graphWidth = new QSpinBox();
|
||||
_graphWidth->setValue(_options->graphWidth);
|
||||
_graphWidth->setMinimum(1);
|
||||
@ -131,7 +168,6 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
QFormLayout *graphAALayout = new QFormLayout();
|
||||
graphAALayout->addWidget(_graphAA);
|
||||
|
||||
|
||||
QWidget *graphTab = new QWidget();
|
||||
QVBoxLayout *graphTabLayout = new QVBoxLayout();
|
||||
graphTabLayout->addLayout(graphLayout);
|
||||
@ -139,10 +175,29 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
graphTabLayout->addStretch();
|
||||
graphTab->setLayout(graphTabLayout);
|
||||
|
||||
|
||||
// Map
|
||||
_mapOpacity = new PercentSlider();
|
||||
_mapOpacity->setValue(_options->mapOpacity);
|
||||
_backgroundColor = new ColorBox();
|
||||
_backgroundColor->setColor(_options->backgroundColor);
|
||||
_backgroundColor->enableAlphaChannel(false);
|
||||
QFormLayout *mapLayout = new QFormLayout();
|
||||
mapLayout->addRow(tr("Background color:"), _backgroundColor);
|
||||
mapLayout->addRow(tr("Map opacity:"), _mapOpacity);
|
||||
|
||||
QWidget *mapTab = new QWidget();
|
||||
QVBoxLayout *mapTabLayout = new QVBoxLayout();
|
||||
mapTabLayout->addLayout(mapLayout);
|
||||
mapTabLayout->addStretch();
|
||||
mapTab->setLayout(mapTabLayout);
|
||||
|
||||
|
||||
QTabWidget *appearancePage = new QTabWidget();
|
||||
appearancePage->addTab(colorTab, tr("Colors"));
|
||||
appearancePage->addTab(pathTab, tr("Paths"));
|
||||
appearancePage->addTab(pointTab, tr("Points"));
|
||||
appearancePage->addTab(graphTab, tr("Graphs"));
|
||||
appearancePage->addTab(mapTab, tr("Map"));
|
||||
|
||||
return appearancePage;
|
||||
}
|
||||
@ -191,14 +246,9 @@ QWidget *OptionsDialog::createDataPage()
|
||||
QWidget *filterTab = new QWidget();
|
||||
QVBoxLayout *filterTabLayout = new QVBoxLayout();
|
||||
#ifdef Q_OS_MAC
|
||||
QLabel *label = new QLabel(tr("Smoothing:"));
|
||||
QFrame *line = new QFrame();
|
||||
line->setFrameShape(QFrame::HLine);
|
||||
line->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
filterTabLayout->addWidget(label);
|
||||
filterTabLayout->addWidget(new QLabel(tr("Smoothing:")));
|
||||
filterTabLayout->addLayout(smoothLayout);
|
||||
filterTabLayout->addWidget(line);
|
||||
filterTabLayout->addWidget(line());
|
||||
filterTabLayout->addLayout(outlierLayout);
|
||||
#else // Q_OS_MAC
|
||||
filterTabLayout->addWidget(smoothBox);
|
||||
@ -341,12 +391,6 @@ QWidget *OptionsDialog::createExportPage()
|
||||
QWidget *OptionsDialog::createSystemPage()
|
||||
{
|
||||
_useOpenGL = new QCheckBox(tr("Use OpenGL"));
|
||||
#ifdef Q_OS_WIN32
|
||||
if (QSysInfo::WindowsVersion < QSysInfo::WV_VISTA) {
|
||||
_useOpenGL->setChecked(false);
|
||||
_useOpenGL->setEnabled(false);
|
||||
} else
|
||||
#endif // Q_OS_WIN32
|
||||
_useOpenGL->setChecked(_options->useOpenGL);
|
||||
|
||||
_pixmapCache = new QSpinBox();
|
||||
@ -428,6 +472,7 @@ void OptionsDialog::accept()
|
||||
_options->palette.setColor(_baseColor->color());
|
||||
_options->palette.setShift(_colorOffset->value());
|
||||
_options->mapOpacity = _mapOpacity->value();
|
||||
_options->backgroundColor = _backgroundColor->color();
|
||||
_options->trackWidth = _trackWidth->value();
|
||||
_options->trackStyle = (Qt::PenStyle) _trackStyle->itemData(
|
||||
_trackStyle->currentIndex()).toInt();
|
||||
@ -435,6 +480,10 @@ void OptionsDialog::accept()
|
||||
_options->routeStyle = (Qt::PenStyle) _routeStyle->itemData(
|
||||
_routeStyle->currentIndex()).toInt();
|
||||
_options->pathAntiAliasing = _pathAA->isChecked();
|
||||
_options->waypointSize = _waypointSize->value();
|
||||
_options->waypointColor = _waypointColor->color();
|
||||
_options->poiSize = _poiSize->value();
|
||||
_options->poiColor = _poiColor->color();
|
||||
_options->graphWidth = _graphWidth->value();
|
||||
_options->graphAntiAliasing = _graphAA->isChecked();
|
||||
|
||||
@ -444,12 +493,16 @@ void OptionsDialog::accept()
|
||||
_options->cadenceFilter = _cadenceFilter->value();
|
||||
_options->powerFilter = _powerFilter->value();
|
||||
_options->outlierEliminate = _outlierEliminate->isChecked();
|
||||
_options->pauseSpeed = (_options->units == Imperial)
|
||||
qreal pauseSpeed = (_options->units == Imperial)
|
||||
? _pauseSpeed->value() / MS2MIH : _pauseSpeed->value() / MS2KMH;
|
||||
if (qAbs(pauseSpeed - _options->pauseSpeed) > 0.01)
|
||||
_options->pauseSpeed = pauseSpeed;
|
||||
_options->pauseInterval = _pauseInterval->value();
|
||||
|
||||
_options->poiRadius = (_options->units == Imperial)
|
||||
qreal poiRadius = (_options->units == Imperial)
|
||||
? _poiRadius->value() * MIINM : _poiRadius->value() * KMINM;
|
||||
if (qAbs(poiRadius - _options->poiRadius) > 0.01)
|
||||
_options->poiRadius = poiRadius;
|
||||
|
||||
_options->useOpenGL = _useOpenGL->isChecked();
|
||||
_options->pixmapCache = _pixmapCache->value();
|
||||
|
@ -18,14 +18,19 @@ class PercentSlider;
|
||||
struct Options {
|
||||
// Appearance
|
||||
Palette palette;
|
||||
int mapOpacity;
|
||||
int trackWidth;
|
||||
int routeWidth;
|
||||
Qt::PenStyle trackStyle;
|
||||
Qt::PenStyle routeStyle;
|
||||
QColor waypointColor;
|
||||
QColor poiColor;
|
||||
int waypointSize;
|
||||
int poiSize;
|
||||
int graphWidth;
|
||||
bool pathAntiAliasing;
|
||||
bool graphAntiAliasing;
|
||||
int mapOpacity;
|
||||
QColor backgroundColor;
|
||||
// Data
|
||||
int elevationFilter;
|
||||
int speedFilter;
|
||||
@ -76,11 +81,16 @@ private:
|
||||
ColorBox *_baseColor;
|
||||
QDoubleSpinBox *_colorOffset;
|
||||
PercentSlider *_mapOpacity;
|
||||
ColorBox *_backgroundColor;
|
||||
QSpinBox *_trackWidth;
|
||||
StyleComboBox *_trackStyle;
|
||||
QSpinBox *_routeWidth;
|
||||
StyleComboBox *_routeStyle;
|
||||
QCheckBox *_pathAA;
|
||||
QSpinBox *_waypointSize;
|
||||
ColorBox *_waypointColor;
|
||||
QSpinBox *_poiSize;
|
||||
ColorBox *_poiColor;
|
||||
QSpinBox *_graphWidth;
|
||||
QCheckBox *_graphAA;
|
||||
// Data
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "pathview.h"
|
||||
|
||||
|
||||
#define MAX_DIGITAL_ZOOM 1
|
||||
#define MAX_DIGITAL_ZOOM 2
|
||||
#define MIN_DIGITAL_ZOOM -3
|
||||
#define MARGIN 10.0
|
||||
#define SCALE_OFFSET 7
|
||||
@ -47,6 +47,7 @@ PathView::PathView(Map *map, POI *poi, QWidget *parent)
|
||||
|
||||
_units = Metric;
|
||||
_opacity = 1.0;
|
||||
_backgroundColor = Qt::white;
|
||||
|
||||
_showMap = true;
|
||||
_showTracks = true;
|
||||
@ -61,10 +62,15 @@ PathView::PathView(Map *map, POI *poi, QWidget *parent)
|
||||
_routeWidth = 3;
|
||||
_trackStyle = Qt::SolidLine;
|
||||
_routeStyle = Qt::DashLine;
|
||||
_waypointSize = 8;
|
||||
_waypointColor = Qt::black;
|
||||
_poiSize = 8;
|
||||
_poiColor = Qt::black;
|
||||
|
||||
_plot = false;
|
||||
_digitalZoom = 0;
|
||||
|
||||
_map->setBackgroundColor(_backgroundColor);
|
||||
_scene->setSceneRect(_map->bounds());
|
||||
_res = _map->resolution(_scene->sceneRect().center());
|
||||
}
|
||||
@ -132,6 +138,8 @@ void PathView::addWaypoints(const QList<Waypoint> &waypoints)
|
||||
_waypoints.append(wi);
|
||||
updateWaypointsBoundingRect(wi->waypoint().coordinates());
|
||||
wi->setZValue(1);
|
||||
wi->setSize(_waypointSize);
|
||||
wi->setColor(_waypointColor);
|
||||
wi->showLabel(_showWaypointLabels);
|
||||
wi->setUnits(_units);
|
||||
wi->setVisible(_showWaypoints);
|
||||
@ -324,6 +332,8 @@ void PathView::addPOI(const QVector<Waypoint> &waypoints)
|
||||
|
||||
WaypointItem *pi = new WaypointItem(w, _map);
|
||||
pi->setZValue(1);
|
||||
pi->setSize(_poiSize);
|
||||
pi->setColor(_poiColor);
|
||||
pi->showLabel(_showPOILabels);
|
||||
pi->setVisible(_showPOI);
|
||||
pi->setDigitalZoom(_digitalZoom);
|
||||
@ -471,18 +481,21 @@ void PathView::keyPressEvent(QKeyEvent *event)
|
||||
zoom(z, pos, c);
|
||||
}
|
||||
|
||||
void PathView::plot(QPainter *painter, const QRectF &target, bool hires)
|
||||
void PathView::plot(QPainter *painter, const QRectF &target, qreal scale,
|
||||
bool hires)
|
||||
{
|
||||
QRect orig, adj;
|
||||
qreal ratio, diff, origRes;
|
||||
qreal ratio, diff, origRes, q;
|
||||
QPointF origScene, origPos;
|
||||
Coordinates origLL;
|
||||
|
||||
|
||||
// Enter plot mode
|
||||
setUpdatesEnabled(false);
|
||||
_plot = true;
|
||||
_map->setBlockingMode(true);
|
||||
|
||||
// Compute sizes & ratios
|
||||
orig = viewport()->rect();
|
||||
origPos = _mapScale->pos();
|
||||
|
||||
@ -495,6 +508,7 @@ void PathView::plot(QPainter *painter, const QRectF &target, bool hires)
|
||||
diff = (orig.height() * ratio) - orig.width();
|
||||
adj = orig.adjusted(-diff/2, 0, diff/2, 0);
|
||||
}
|
||||
q = (target.width() / scale) / adj.width();
|
||||
|
||||
// Adjust the view for printing
|
||||
if (hires) {
|
||||
@ -514,14 +528,15 @@ void PathView::plot(QPainter *painter, const QRectF &target, bool hires)
|
||||
adj.moveCenter(mapFromScene(center));
|
||||
|
||||
_mapScale->setResolution(_map->resolution(_map->ll2xy(origLL)));
|
||||
_mapScale->setDigitalZoom(-log2(s.x()));
|
||||
_mapScale->setDigitalZoom(-log2(s.x() / q));
|
||||
_mapScale->setPos(mapToScene(QPoint(adj.bottomRight() + QPoint(
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().width()) * s.x(),
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().height()) * s.x()))));
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().width()) * (s.x() / q),
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().height()) * (s.x() / q)))));
|
||||
} else {
|
||||
_mapScale->setDigitalZoom(-log2(1.0 / q));
|
||||
_mapScale->setPos(mapToScene(QPoint(adj.bottomRight() + QPoint(
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().width()),
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().height())))));
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().width()) / q ,
|
||||
-(SCALE_OFFSET + _mapScale->boundingRect().height()) / q))));
|
||||
}
|
||||
|
||||
// Print the view
|
||||
@ -532,11 +547,12 @@ void PathView::plot(QPainter *painter, const QRectF &target, bool hires)
|
||||
_map->zoomFit(origRes, origLL);
|
||||
rescale();
|
||||
centerOn(origScene);
|
||||
_mapScale->setDigitalZoom(0);
|
||||
_mapScale->setResolution(origRes);
|
||||
}
|
||||
_mapScale->setDigitalZoom(0);
|
||||
_mapScale->setPos(origPos);
|
||||
|
||||
// Exit plot mode
|
||||
_map->setBlockingMode(false);
|
||||
_plot = false;
|
||||
setUpdatesEnabled(true);
|
||||
@ -673,22 +689,65 @@ void PathView::setRouteStyle(Qt::PenStyle style)
|
||||
_routes.at(i)->setStyle(style);
|
||||
}
|
||||
|
||||
void PathView::setWaypointSize(int size)
|
||||
{
|
||||
_waypointSize = size;
|
||||
|
||||
for (int i = 0; i < _waypoints.size(); i++)
|
||||
_waypoints.at(i)->setSize(size);
|
||||
}
|
||||
|
||||
void PathView::setWaypointColor(const QColor &color)
|
||||
{
|
||||
_waypointColor = color;
|
||||
|
||||
for (int i = 0; i < _waypoints.size(); i++)
|
||||
_waypoints.at(i)->setColor(color);
|
||||
}
|
||||
|
||||
void PathView::setPOISize(int size)
|
||||
{
|
||||
QHash<SearchPointer<Waypoint>, WaypointItem*>::const_iterator it;
|
||||
|
||||
_poiSize = size;
|
||||
|
||||
for (it = _pois.constBegin(); it != _pois.constEnd(); it++)
|
||||
it.value()->setSize(size);
|
||||
}
|
||||
|
||||
void PathView::setPOIColor(const QColor &color)
|
||||
{
|
||||
QHash<SearchPointer<Waypoint>, WaypointItem*>::const_iterator it;
|
||||
|
||||
_poiColor = color;
|
||||
|
||||
for (it = _pois.constBegin(); it != _pois.constEnd(); it++)
|
||||
it.value()->setColor(color);
|
||||
}
|
||||
|
||||
void PathView::setMapOpacity(int opacity)
|
||||
{
|
||||
_opacity = opacity / 100.0;
|
||||
resetCachedContent();
|
||||
}
|
||||
|
||||
void PathView::setBackgroundColor(const QColor &color)
|
||||
{
|
||||
_backgroundColor = color;
|
||||
_map->setBackgroundColor(color);
|
||||
resetCachedContent();
|
||||
}
|
||||
|
||||
void PathView::drawBackground(QPainter *painter, const QRectF &rect)
|
||||
{
|
||||
if (_showMap) {
|
||||
if (_opacity < 1.0) {
|
||||
painter->fillRect(rect, Qt::white);
|
||||
painter->fillRect(rect, _backgroundColor);
|
||||
painter->setOpacity(_opacity);
|
||||
}
|
||||
_map->draw(painter, rect);
|
||||
} else
|
||||
painter->fillRect(rect, Qt::white);
|
||||
painter->fillRect(rect, _backgroundColor);
|
||||
}
|
||||
|
||||
void PathView::resizeEvent(QResizeEvent *event)
|
||||
@ -737,3 +796,8 @@ void PathView::useOpenGL(bool use)
|
||||
else
|
||||
setViewport(new QWidget);
|
||||
}
|
||||
|
||||
void PathView::useAntiAliasing(bool use)
|
||||
{
|
||||
setRenderHint(QPainter::Antialiasing, use);
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
void setMap(Map *map);
|
||||
void setUnits(enum Units units);
|
||||
|
||||
void plot(QPainter *painter, const QRectF &target, bool hires);
|
||||
void plot(QPainter *painter, const QRectF &target, qreal scale, bool hires);
|
||||
|
||||
int trackCount() const {return _tracks.count();}
|
||||
int routeCount() const {return _routes.count();}
|
||||
@ -45,7 +45,18 @@ public:
|
||||
|
||||
void clear();
|
||||
|
||||
void setTrackWidth(int width);
|
||||
void setRouteWidth(int width);
|
||||
void setTrackStyle(Qt::PenStyle style);
|
||||
void setRouteStyle(Qt::PenStyle style);
|
||||
void setWaypointSize(int size);
|
||||
void setWaypointColor(const QColor &color);
|
||||
void setPOISize(int size);
|
||||
void setPOIColor(const QColor &color);
|
||||
void setMapOpacity(int opacity);
|
||||
void setBackgroundColor(const QColor &color);
|
||||
void useOpenGL(bool use);
|
||||
void useAntiAliasing(bool use);
|
||||
|
||||
public slots:
|
||||
void redraw();
|
||||
@ -59,11 +70,6 @@ public slots:
|
||||
void showRoutes(bool show);
|
||||
void showWaypoints(bool show);
|
||||
void showRouteWaypoints(bool show);
|
||||
void setTrackWidth(int width);
|
||||
void setRouteWidth(int width);
|
||||
void setTrackStyle(Qt::PenStyle style);
|
||||
void setRouteStyle(Qt::PenStyle style);
|
||||
void setMapOpacity(int opacity);
|
||||
|
||||
private slots:
|
||||
void updatePOI();
|
||||
@ -107,8 +113,9 @@ private:
|
||||
POI *_poi;
|
||||
Palette _palette;
|
||||
Units _units;
|
||||
qreal _opacity;
|
||||
|
||||
qreal _opacity;
|
||||
QColor _backgroundColor;
|
||||
bool _showMap;
|
||||
bool _showTracks;
|
||||
bool _showRoutes;
|
||||
@ -122,6 +129,10 @@ private:
|
||||
int _routeWidth;
|
||||
Qt::PenStyle _trackStyle;
|
||||
Qt::PenStyle _routeStyle;
|
||||
int _waypointSize;
|
||||
int _poiSize;
|
||||
QColor _waypointColor;
|
||||
QColor _poiColor;
|
||||
|
||||
int _digitalZoom;
|
||||
bool _plot;
|
||||
|
@ -8,6 +8,12 @@ void RangeF::resize(qreal size)
|
||||
_max += adj;
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug dbg, const Range &range)
|
||||
{
|
||||
dbg.nospace() << "Range(" << range.min() << ", " << range.max() << ")";
|
||||
return dbg.space();
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug dbg, const RangeF &range)
|
||||
{
|
||||
dbg.nospace() << "RangeF(" << range.min() << ", " << range.max() << ")";
|
||||
|
15
src/range.h
15
src/range.h
@ -4,6 +4,20 @@
|
||||
#include <QtGlobal>
|
||||
#include <QDebug>
|
||||
|
||||
class Range
|
||||
{
|
||||
public:
|
||||
Range() {_min = 0; _max = 0;}
|
||||
Range(int min, int max) {_min = min, _max = max;}
|
||||
|
||||
int min() const {return _min;}
|
||||
int max() const {return _max;}
|
||||
int size() const {return (_max - _min);}
|
||||
|
||||
private:
|
||||
int _min, _max;
|
||||
};
|
||||
|
||||
class RangeF
|
||||
{
|
||||
public:
|
||||
@ -20,6 +34,7 @@ private:
|
||||
qreal _min, _max;
|
||||
};
|
||||
|
||||
QDebug operator<<(QDebug dbg, const Range &range);
|
||||
QDebug operator<<(QDebug dbg, const RangeF &range);
|
||||
|
||||
#endif // RANGE_H
|
||||
|
@ -80,6 +80,8 @@
|
||||
#define PALETTE_SHIFT_DEFAULT 0.62
|
||||
#define MAP_OPACITY_SETTING "mapOpacity"
|
||||
#define MAP_OPACITY_DEFAULT 100
|
||||
#define BACKGROUND_COLOR_SETTING "backgroundColor"
|
||||
#define BACKGROUND_COLOR_DEFAULT QColor(Qt::white)
|
||||
#define TRACK_WIDTH_SETTING "trackWidth"
|
||||
#define TRACK_WIDTH_DEFAULT 3
|
||||
#define ROUTE_WIDTH_SETTING "routeWidth"
|
||||
@ -88,6 +90,14 @@
|
||||
#define TRACK_STYLE_DEFAULT Qt::SolidLine
|
||||
#define ROUTE_STYLE_SETTING "routeStyle"
|
||||
#define ROUTE_STYLE_DEFAULT Qt::DotLine
|
||||
#define WAYPOINT_SIZE_SETTING "waypointSize"
|
||||
#define WAYPOINT_SIZE_DEFAULT 8
|
||||
#define WAYPOINT_COLOR_SETTING "waypointColor"
|
||||
#define WAYPOINT_COLOR_DEFAULT QColor(Qt::black)
|
||||
#define POI_SIZE_SETTING "poiSize"
|
||||
#define POI_SIZE_DEFAULT 8
|
||||
#define POI_COLOR_SETTING "poiColor"
|
||||
#define POI_COLOR_DEFAULT QColor(Qt::black)
|
||||
#define GRAPH_WIDTH_SETTING "graphWidth"
|
||||
#define GRAPH_WIDTH_DEFAULT 1
|
||||
#define PATH_AA_SETTING "pathAntiAliasing"
|
||||
|
@ -56,6 +56,16 @@ Coordinates TCXParser::position()
|
||||
return pos;
|
||||
}
|
||||
|
||||
void TCXParser::heartRateBpm(Trackpoint &trackpoint)
|
||||
{
|
||||
while (_reader.readNextStartElement()) {
|
||||
if (_reader.name() == "Value")
|
||||
trackpoint.setHeartRate(number());
|
||||
else
|
||||
_reader.skipCurrentElement();
|
||||
}
|
||||
}
|
||||
|
||||
void TCXParser::extensions(Trackpoint &trackpoint)
|
||||
{
|
||||
while (_reader.readNextStartElement()) {
|
||||
@ -78,7 +88,7 @@ void TCXParser::trackpointData(Trackpoint &trackpoint)
|
||||
else if (_reader.name() == "Time")
|
||||
trackpoint.setTimestamp(time());
|
||||
else if (_reader.name() == "HeartRateBpm")
|
||||
trackpoint.setHeartRate(number());
|
||||
heartRateBpm(trackpoint);
|
||||
else if (_reader.name() == "Cadence")
|
||||
trackpoint.setCadence(number());
|
||||
else if (_reader.name() == "Extensions")
|
||||
|
@ -26,6 +26,7 @@ private:
|
||||
void trackpointData(Trackpoint &trackpoint);
|
||||
void waypointData(Waypoint &waypoint);
|
||||
void extensions(Trackpoint &trackpoint);
|
||||
void heartRateBpm(Trackpoint &trackpoint);
|
||||
Coordinates position();
|
||||
qreal number();
|
||||
QDateTime time();
|
||||
|
@ -6,8 +6,10 @@
|
||||
#include "waypointitem.h"
|
||||
|
||||
|
||||
#define POINT_SIZE 8
|
||||
#define HOVER_SIZE 10
|
||||
#define HS(size) \
|
||||
((int)((qreal)size * 1.2))
|
||||
#define FS(size) \
|
||||
((int)((qreal)size * 1.41))
|
||||
|
||||
QString WaypointItem::toolTip(Units units)
|
||||
{
|
||||
@ -36,6 +38,8 @@ WaypointItem::WaypointItem(const Waypoint &waypoint, Map *map,
|
||||
_waypoint = waypoint;
|
||||
_showLabel = true;
|
||||
_hover = false;
|
||||
_size = 8;
|
||||
_color = Qt::black;
|
||||
|
||||
updateShape();
|
||||
|
||||
@ -48,11 +52,11 @@ WaypointItem::WaypointItem(const Waypoint &waypoint, Map *map,
|
||||
void WaypointItem::updateShape()
|
||||
{
|
||||
QPainterPath p;
|
||||
qreal pointSize = _hover ? HOVER_SIZE : POINT_SIZE;
|
||||
qreal pointSize = _hover ? HS(_size) : _size;
|
||||
|
||||
if (_showLabel) {
|
||||
QFont font;
|
||||
font.setPixelSize(FONT_SIZE);
|
||||
font.setPixelSize(FS(_size));
|
||||
font.setFamily(FONT_FAMILY);
|
||||
if (_hover)
|
||||
font.setBold(true);
|
||||
@ -74,11 +78,13 @@ void WaypointItem::paint(QPainter *painter,
|
||||
Q_UNUSED(option);
|
||||
Q_UNUSED(widget);
|
||||
|
||||
qreal pointSize = _hover ? HOVER_SIZE : POINT_SIZE;
|
||||
qreal pointSize = _hover ? HS(_size) : _size;
|
||||
|
||||
painter->setPen(_color);
|
||||
|
||||
if (_showLabel) {
|
||||
QFont font;
|
||||
font.setPixelSize(FONT_SIZE);
|
||||
font.setPixelSize(FS(_size));
|
||||
font.setFamily(FONT_FAMILY);
|
||||
if (_hover)
|
||||
font.setBold(true);
|
||||
@ -90,7 +96,7 @@ void WaypointItem::paint(QPainter *painter,
|
||||
+ ts.height(), _waypoint.name());
|
||||
}
|
||||
|
||||
painter->setBrush(Qt::SolidPattern);
|
||||
painter->setBrush(QBrush(_color, Qt::SolidPattern));
|
||||
painter->drawEllipse(-pointSize/2, -pointSize/2, pointSize, pointSize);
|
||||
|
||||
/*
|
||||
@ -100,6 +106,19 @@ void WaypointItem::paint(QPainter *painter,
|
||||
*/
|
||||
}
|
||||
|
||||
void WaypointItem::setSize(int size)
|
||||
{
|
||||
prepareGeometryChange();
|
||||
_size = size;
|
||||
updateShape();
|
||||
}
|
||||
|
||||
void WaypointItem::setColor(const QColor &color)
|
||||
{
|
||||
_color = color;
|
||||
update();
|
||||
}
|
||||
|
||||
void WaypointItem::setUnits(enum Units units)
|
||||
{
|
||||
setToolTip(toolTip(units));
|
||||
|
@ -16,6 +16,8 @@ public:
|
||||
|
||||
void setMap(Map *map) {setPos(map->ll2xy(_waypoint.coordinates()));}
|
||||
void setUnits(Units units);
|
||||
void setSize(int size);
|
||||
void setColor(const QColor &color);
|
||||
void showLabel(bool show);
|
||||
void setDigitalZoom(int zoom) {setScale(pow(2, -zoom));}
|
||||
|
||||
@ -34,6 +36,8 @@ private:
|
||||
QPainterPath _shape;
|
||||
Waypoint _waypoint;
|
||||
|
||||
QColor _color;
|
||||
int _size;
|
||||
bool _hover;
|
||||
bool _showLabel;
|
||||
};
|
||||
|
Reference in New Issue
Block a user