1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 19:52:09 +01:00

Added map background color setting.

Redesigned appearance settings tab.
This commit is contained in:
Martin Tůma 2017-09-10 00:09:39 +02:00
parent 84bcf07bd4
commit 47683e5447
9 changed files with 281 additions and 250 deletions

View File

@ -391,7 +391,7 @@
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="443"/> <location filename="../src/gui.cpp" line="443"/>
<location filename="../src/gui.cpp" line="1010"/> <location filename="../src/gui.cpp" line="1012"/>
<source>Moving time</source> <source>Moving time</source>
<translation>Čistý čas</translation> <translation>Čistý čas</translation>
</message> </message>
@ -536,33 +536,33 @@
<translation>Offline mapy jsou načítány při startu aplikace z následujícího adresáře:</translation> <translation>Offline mapy jsou načítány při startu aplikace z následujícího adresáře:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1203"/> <location filename="../src/gui.cpp" line="1205"/>
<source>Open map file</source> <source>Open map file</source>
<translation>Otevřít mapový soubor</translation> <translation>Otevřít mapový soubor</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1239"/> <location filename="../src/gui.cpp" line="1241"/>
<source>No files loaded</source> <source>No files loaded</source>
<translation>Nejsou načteny žádné soubory</translation> <translation>Nejsou načteny žádné soubory</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="996"/> <location filename="../src/gui.cpp" line="998"/>
<location filename="../src/gui.cpp" line="999"/> <location filename="../src/gui.cpp" line="1001"/>
<source>Date</source> <source>Date</source>
<translation>Datum</translation> <translation>Datum</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="988"/> <location filename="../src/gui.cpp" line="990"/>
<source>Routes</source> <source>Routes</source>
<translation>Trasy</translation> <translation>Trasy</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1224"/> <location filename="../src/gui.cpp" line="1226"/>
<source>Error loading map:</source> <source>Error loading map:</source>
<translation>Mapu nelze načíst:</translation> <translation>Mapu nelze načíst:</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui.cpp" line="1243"/> <location filename="../src/gui.cpp" line="1245"/>
<source>%n files</source> <source>%n files</source>
<translation> <translation>
<numerusform>%n soubor</numerusform> <numerusform>%n soubor</numerusform>
@ -591,7 +591,7 @@
<translation>Exportovat do PDF...</translation> <translation>Exportovat do PDF...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="990"/> <location filename="../src/gui.cpp" line="992"/>
<source>Waypoints</source> <source>Waypoints</source>
<translation>Navigační body</translation> <translation>Navigační body</translation>
</message> </message>
@ -651,12 +651,12 @@
<translation>Soubor POI nelze načíst:</translation> <translation>Soubor POI nelze načíst:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="982"/> <location filename="../src/gui.cpp" line="984"/>
<source>Name</source> <source>Name</source>
<translation>Název</translation> <translation>Název</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="986"/> <location filename="../src/gui.cpp" line="988"/>
<source>Tracks</source> <source>Tracks</source>
<translation>Cesty</translation> <translation>Cesty</translation>
</message> </message>
@ -678,14 +678,14 @@
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="412"/> <location filename="../src/gui.cpp" line="412"/>
<location filename="../src/gui.cpp" line="1006"/> <location filename="../src/gui.cpp" line="1008"/>
<source>Distance</source> <source>Distance</source>
<translation>Vzdálenost</translation> <translation>Vzdálenost</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="419"/> <location filename="../src/gui.cpp" line="419"/>
<location filename="../src/gui.cpp" line="543"/> <location filename="../src/gui.cpp" line="543"/>
<location filename="../src/gui.cpp" line="1008"/> <location filename="../src/gui.cpp" line="1010"/>
<source>Time</source> <source>Time</source>
<translation>Čas</translation> <translation>Čas</translation>
</message> </message>
@ -789,282 +789,286 @@
<translation>Posun palety:</translation> <translation>Posun palety:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="76"/> <location filename="../src/optionsdialog.cpp" line="50"/>
<source>Track width:</source> <source>Track width:</source>
<translation>Šířka cest:</translation> <translation>Šířka cest:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="77"/> <location filename="../src/optionsdialog.cpp" line="51"/>
<source>Track style:</source> <source>Track style:</source>
<translation>Styl cest:</translation> <translation>Styl cest:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="79"/> <location filename="../src/optionsdialog.cpp" line="53"/>
<source>Tracks</source> <source>Tracks</source>
<translation>Cesty</translation> <translation>Cesty</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="89"/> <location filename="../src/optionsdialog.cpp" line="63"/>
<source>Route width:</source> <source>Route width:</source>
<translation>Šířka tras:</translation> <translation>Šířka tras:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="90"/> <location filename="../src/optionsdialog.cpp" line="64"/>
<source>Route style:</source> <source>Route style:</source>
<translation>Styl tras:</translation> <translation>Styl tras:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="92"/> <location filename="../src/optionsdialog.cpp" line="66"/>
<source>Routes</source> <source>Routes</source>
<translation>Trasy</translation> <translation>Trasy</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="96"/> <location filename="../src/optionsdialog.cpp" line="70"/>
<location filename="../src/optionsdialog.cpp" line="129"/> <location filename="../src/optionsdialog.cpp" line="109"/>
<source>Use anti-aliasing</source> <source>Use anti-aliasing</source>
<translation>Vyhlazovat hrany</translation> <translation>Vyhlazovat hrany</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="127"/> <location filename="../src/optionsdialog.cpp" line="107"/>
<source>Line width:</source> <source>Line width:</source>
<translation>Šířka čar:</translation> <translation>Šířka čar:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="143"/> <location filename="../src/optionsdialog.cpp" line="40"/>
<source>Colors</source> <source>Colors</source>
<translation>Barvy</translation> <translation>Barvy</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="40"/> <location filename="../src/optionsdialog.cpp" line="128"/>
<location filename="../src/optionsdialog.cpp" line="144"/> <source>Background color:</source>
<translation>Barva pozadí:</translation>
</message>
<message>
<location filename="../src/optionsdialog.cpp" line="141"/>
<source>Paths</source> <source>Paths</source>
<translation>Trasy</translation> <translation>Trasy</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="47"/> <location filename="../src/optionsdialog.cpp" line="129"/>
<source>Map opacity:</source> <source>Map opacity:</source>
<translation>Neprůhlednost mapy:</translation> <translation>Neprůhlednost mapy:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="49"/> <location filename="../src/optionsdialog.cpp" line="143"/>
<source>Map</source> <source>Map</source>
<translation>Mapa</translation> <translation>Mapa</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="145"/> <location filename="../src/optionsdialog.cpp" line="142"/>
<location filename="../src/optionsdialog.cpp" line="336"/> <location filename="../src/optionsdialog.cpp" line="334"/>
<source>Graphs</source> <source>Graphs</source>
<translation>Grafy</translation> <translation>Grafy</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="152"/> <location filename="../src/optionsdialog.cpp" line="150"/>
<source>Moving average window size</source> <source>Moving average window size</source>
<translation>Velikost okna klouzavého průměru</translation> <translation>Velikost okna klouzavého průměru</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="171"/> <location filename="../src/optionsdialog.cpp" line="169"/>
<source>Elevation:</source> <source>Elevation:</source>
<translation>Výška:</translation> <translation>Výška:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="172"/> <location filename="../src/optionsdialog.cpp" line="170"/>
<source>Speed:</source> <source>Speed:</source>
<translation>Rychlost:</translation> <translation>Rychlost:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="173"/> <location filename="../src/optionsdialog.cpp" line="171"/>
<source>Heart rate:</source> <source>Heart rate:</source>
<translation>Tep:</translation> <translation>Tep:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="174"/> <location filename="../src/optionsdialog.cpp" line="172"/>
<source>Cadence:</source> <source>Cadence:</source>
<translation>Kadence:</translation> <translation>Kadence:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="175"/> <location filename="../src/optionsdialog.cpp" line="173"/>
<source>Power:</source> <source>Power:</source>
<translation>Výkon:</translation> <translation>Výkon:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="177"/> <location filename="../src/optionsdialog.cpp" line="175"/>
<source>Smoothing</source> <source>Smoothing</source>
<translation>Vyhlazování</translation> <translation>Vyhlazování</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="181"/> <location filename="../src/optionsdialog.cpp" line="179"/>
<source>Eliminate GPS outliers</source> <source>Eliminate GPS outliers</source>
<translation>Odstarnit odlehlé GPS záznamy</translation> <translation>Odstarnit odlehlé GPS záznamy</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="187"/> <location filename="../src/optionsdialog.cpp" line="185"/>
<source>Outlier elimination</source> <source>Outlier elimination</source>
<translation>Odstranění odlehlých hodnot</translation> <translation>Odstranění odlehlých hodnot</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="194"/> <location filename="../src/optionsdialog.cpp" line="192"/>
<source>Smoothing:</source> <source>Smoothing:</source>
<translation>Vyhlazování:</translation> <translation>Vyhlazování:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="217"/> <location filename="../src/optionsdialog.cpp" line="215"/>
<source>mi/h</source> <source>mi/h</source>
<translation>mi/h</translation> <translation>mi/h</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="220"/> <location filename="../src/optionsdialog.cpp" line="218"/>
<source>km/h</source> <source>km/h</source>
<translation>km/h</translation> <translation>km/h</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="224"/> <location filename="../src/optionsdialog.cpp" line="222"/>
<source>s</source> <source>s</source>
<translation>s</translation> <translation>s</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="228"/> <location filename="../src/optionsdialog.cpp" line="226"/>
<source>Minimal speed:</source> <source>Minimal speed:</source>
<translation>Minimální rychlost:</translation> <translation>Minimální rychlost:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="229"/> <location filename="../src/optionsdialog.cpp" line="227"/>
<source>Minimal duration:</source> <source>Minimal duration:</source>
<translation>Minimální doba trvání:</translation> <translation>Minimální doba trvání:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="236"/> <location filename="../src/optionsdialog.cpp" line="234"/>
<source>Filtering</source> <source>Filtering</source>
<translation>Filtrování</translation> <translation>Filtrování</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="237"/> <location filename="../src/optionsdialog.cpp" line="235"/>
<source>Pause detection</source> <source>Pause detection</source>
<translation>Detekce přestávek</translation> <translation>Detekce přestávek</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="249"/> <location filename="../src/optionsdialog.cpp" line="247"/>
<source>mi</source> <source>mi</source>
<translation>mi</translation> <translation>mi</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="252"/> <location filename="../src/optionsdialog.cpp" line="250"/>
<source>km</source> <source>km</source>
<translation>km</translation> <translation>km</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="256"/> <location filename="../src/optionsdialog.cpp" line="254"/>
<source>POI radius:</source> <source>POI radius:</source>
<translation>POI radius:</translation> <translation>POI radius:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="262"/> <location filename="../src/optionsdialog.cpp" line="260"/>
<location filename="../src/optionsdialog.cpp" line="392"/> <location filename="../src/optionsdialog.cpp" line="390"/>
<source>POI</source> <source>POI</source>
<translation>POI</translation> <translation>POI</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="269"/> <location filename="../src/optionsdialog.cpp" line="267"/>
<source>WYSIWYG</source> <source>WYSIWYG</source>
<translation>WYSIWYG</translation> <translation>WYSIWYG</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="270"/> <location filename="../src/optionsdialog.cpp" line="268"/>
<source>High-Resolution</source> <source>High-Resolution</source>
<translation>Vysoké rozlišení</translation> <translation>Vysoké rozlišení</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="275"/> <location filename="../src/optionsdialog.cpp" line="273"/>
<source>The printed area is approximately the display area. The map zoom level does not change.</source> <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> <translation>Oblast tisku přibližně odpovídá zobrazované oblasti. Přiblížení mapy se nemění.</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="277"/> <location filename="../src/optionsdialog.cpp" line="275"/>
<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> <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> <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>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="299"/> <location filename="../src/optionsdialog.cpp" line="297"/>
<source>Name</source> <source>Name</source>
<translation>Název</translation> <translation>Název</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="301"/> <location filename="../src/optionsdialog.cpp" line="299"/>
<source>Date</source> <source>Date</source>
<translation>Datum</translation> <translation>Datum</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="303"/> <location filename="../src/optionsdialog.cpp" line="301"/>
<source>Distance</source> <source>Distance</source>
<translation>Vzdálenost</translation> <translation>Vzdálenost</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="305"/> <location filename="../src/optionsdialog.cpp" line="303"/>
<source>Time</source> <source>Time</source>
<translation>Čas</translation> <translation>Čas</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="307"/> <location filename="../src/optionsdialog.cpp" line="305"/>
<source>Moving time</source> <source>Moving time</source>
<translation>Čistý čas</translation> <translation>Čistý čas</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="309"/> <location filename="../src/optionsdialog.cpp" line="307"/>
<source>Item count (&gt;1)</source> <source>Item count (&gt;1)</source>
<translation>Počet objektů (&gt;1)</translation> <translation>Počet objektů (&gt;1)</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="324"/> <location filename="../src/optionsdialog.cpp" line="322"/>
<source>Separate graph page</source> <source>Separate graph page</source>
<translation>Samostatná stránka s grafy</translation> <translation>Samostatná stránka s grafy</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="334"/> <location filename="../src/optionsdialog.cpp" line="332"/>
<source>Print mode</source> <source>Print mode</source>
<translation>Režim tisku</translation> <translation>Režim tisku</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="335"/> <location filename="../src/optionsdialog.cpp" line="333"/>
<source>Header</source> <source>Header</source>
<translation>Záhlaví</translation> <translation>Záhlaví</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="343"/> <location filename="../src/optionsdialog.cpp" line="341"/>
<source>Use OpenGL</source> <source>Use OpenGL</source>
<translation>Používat OpenGL</translation> <translation>Používat OpenGL</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="355"/> <location filename="../src/optionsdialog.cpp" line="353"/>
<source>MB</source> <source>MB</source>
<translation>MB</translation> <translation>MB</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="359"/> <location filename="../src/optionsdialog.cpp" line="357"/>
<source>Image cache size:</source> <source>Image cache size:</source>
<translation>Mezipaměť obrázků:</translation> <translation>Mezipaměť obrázků:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="372"/> <location filename="../src/optionsdialog.cpp" line="370"/>
<location filename="../src/optionsdialog.cpp" line="395"/> <location filename="../src/optionsdialog.cpp" line="393"/>
<source>System</source> <source>System</source>
<translation>Systém</translation> <translation>Systém</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="389"/> <location filename="../src/optionsdialog.cpp" line="387"/>
<source>Appearance</source> <source>Appearance</source>
<translation>Vzhled</translation> <translation>Vzhled</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="391"/> <location filename="../src/optionsdialog.cpp" line="389"/>
<source>Data</source> <source>Data</source>
<translation>Data</translation> <translation>Data</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="393"/> <location filename="../src/optionsdialog.cpp" line="391"/>
<source>Print &amp; Export</source> <source>Print &amp; Export</source>
<translation>Tisk a export</translation> <translation>Tisk a export</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="422"/> <location filename="../src/optionsdialog.cpp" line="420"/>
<source>Options</source> <source>Options</source>
<translation>Nastavení</translation> <translation>Nastavení</translation>
</message> </message>

View File

@ -391,7 +391,7 @@
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="443"/> <location filename="../src/gui.cpp" line="443"/>
<location filename="../src/gui.cpp" line="1010"/> <location filename="../src/gui.cpp" line="1012"/>
<source>Moving time</source> <source>Moving time</source>
<translation>Bewegungszeit</translation> <translation>Bewegungszeit</translation>
</message> </message>
@ -541,22 +541,22 @@
<translation>Offlinekarten werden zu Programmstart aus dem folgenden Verzeichnis geladen:</translation> <translation>Offlinekarten werden zu Programmstart aus dem folgenden Verzeichnis geladen:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1203"/> <location filename="../src/gui.cpp" line="1205"/>
<source>Open map file</source> <source>Open map file</source>
<translation>Karte Datei öffnen</translation> <translation>Karte Datei öffnen</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1224"/> <location filename="../src/gui.cpp" line="1226"/>
<source>Error loading map:</source> <source>Error loading map:</source>
<translation>Fehler beim Laden der Karte-Datei:</translation> <translation>Fehler beim Laden der Karte-Datei:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1239"/> <location filename="../src/gui.cpp" line="1241"/>
<source>No files loaded</source> <source>No files loaded</source>
<translation>Keine Dateien geladen</translation> <translation>Keine Dateien geladen</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui.cpp" line="1243"/> <location filename="../src/gui.cpp" line="1245"/>
<source>%n files</source> <source>%n files</source>
<translation> <translation>
<numerusform>%n Datei</numerusform> <numerusform>%n Datei</numerusform>
@ -564,13 +564,13 @@
</translation> </translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="996"/> <location filename="../src/gui.cpp" line="998"/>
<location filename="../src/gui.cpp" line="999"/> <location filename="../src/gui.cpp" line="1001"/>
<source>Date</source> <source>Date</source>
<translation>Datum</translation> <translation>Datum</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="988"/> <location filename="../src/gui.cpp" line="990"/>
<source>Routes</source> <source>Routes</source>
<translation>Routen</translation> <translation>Routen</translation>
</message> </message>
@ -595,7 +595,7 @@
<translation>Als PDF exportieren...</translation> <translation>Als PDF exportieren...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="990"/> <location filename="../src/gui.cpp" line="992"/>
<source>Waypoints</source> <source>Waypoints</source>
<translation>Wegpunkte</translation> <translation>Wegpunkte</translation>
</message> </message>
@ -650,12 +650,12 @@
<translation>Fehler beim Laden der POI-Datei:</translation> <translation>Fehler beim Laden der POI-Datei:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="982"/> <location filename="../src/gui.cpp" line="984"/>
<source>Name</source> <source>Name</source>
<translation>Name</translation> <translation>Name</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="986"/> <location filename="../src/gui.cpp" line="988"/>
<source>Tracks</source> <source>Tracks</source>
<translation>Strecken</translation> <translation>Strecken</translation>
</message> </message>
@ -677,14 +677,14 @@
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="412"/> <location filename="../src/gui.cpp" line="412"/>
<location filename="../src/gui.cpp" line="1006"/> <location filename="../src/gui.cpp" line="1008"/>
<source>Distance</source> <source>Distance</source>
<translation>Distanz</translation> <translation>Distanz</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="419"/> <location filename="../src/gui.cpp" line="419"/>
<location filename="../src/gui.cpp" line="543"/> <location filename="../src/gui.cpp" line="543"/>
<location filename="../src/gui.cpp" line="1008"/> <location filename="../src/gui.cpp" line="1010"/>
<source>Time</source> <source>Time</source>
<translation>Zeit</translation> <translation>Zeit</translation>
</message> </message>
@ -788,282 +788,286 @@
<translation>Palettenverschiebung:</translation> <translation>Palettenverschiebung:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="76"/> <location filename="../src/optionsdialog.cpp" line="50"/>
<source>Track width:</source> <source>Track width:</source>
<translation>Streckenbreite:</translation> <translation>Streckenbreite:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="77"/> <location filename="../src/optionsdialog.cpp" line="51"/>
<source>Track style:</source> <source>Track style:</source>
<translation>Streckenstil:</translation> <translation>Streckenstil:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="79"/> <location filename="../src/optionsdialog.cpp" line="53"/>
<source>Tracks</source> <source>Tracks</source>
<translation>Strecken</translation> <translation>Strecken</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="89"/> <location filename="../src/optionsdialog.cpp" line="63"/>
<source>Route width:</source> <source>Route width:</source>
<translation>Routenbreite:</translation> <translation>Routenbreite:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="90"/> <location filename="../src/optionsdialog.cpp" line="64"/>
<source>Route style:</source> <source>Route style:</source>
<translation>Routenstil:</translation> <translation>Routenstil:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="92"/> <location filename="../src/optionsdialog.cpp" line="66"/>
<source>Routes</source> <source>Routes</source>
<translation>Routen</translation> <translation>Routen</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="96"/> <location filename="../src/optionsdialog.cpp" line="70"/>
<location filename="../src/optionsdialog.cpp" line="129"/> <location filename="../src/optionsdialog.cpp" line="109"/>
<source>Use anti-aliasing</source> <source>Use anti-aliasing</source>
<translation>Anti-Aliasing verwenden</translation> <translation>Anti-Aliasing verwenden</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="127"/> <location filename="../src/optionsdialog.cpp" line="107"/>
<source>Line width:</source> <source>Line width:</source>
<translation>Linienbreite:</translation> <translation>Linienbreite:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="143"/> <location filename="../src/optionsdialog.cpp" line="40"/>
<source>Colors</source> <source>Colors</source>
<translation>Farben</translation> <translation>Farben</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="40"/> <location filename="../src/optionsdialog.cpp" line="128"/>
<location filename="../src/optionsdialog.cpp" line="144"/> <source>Background color:</source>
<translation>Hintergrundfarbe:</translation>
</message>
<message>
<location filename="../src/optionsdialog.cpp" line="141"/>
<source>Paths</source> <source>Paths</source>
<translation>Pfade</translation> <translation>Pfade</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="47"/> <location filename="../src/optionsdialog.cpp" line="129"/>
<source>Map opacity:</source> <source>Map opacity:</source>
<translation>Karte Deckkraft:</translation> <translation>Karte Deckkraft:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="49"/> <location filename="../src/optionsdialog.cpp" line="143"/>
<source>Map</source> <source>Map</source>
<translation>Karte</translation> <translation>Karte</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="145"/> <location filename="../src/optionsdialog.cpp" line="142"/>
<location filename="../src/optionsdialog.cpp" line="336"/> <location filename="../src/optionsdialog.cpp" line="334"/>
<source>Graphs</source> <source>Graphs</source>
<translation>Graphen</translation> <translation>Graphen</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="152"/> <location filename="../src/optionsdialog.cpp" line="150"/>
<source>Moving average window size</source> <source>Moving average window size</source>
<translation>Fensterbreite des gleitenden Mittelwerts</translation> <translation>Fensterbreite des gleitenden Mittelwerts</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="171"/> <location filename="../src/optionsdialog.cpp" line="169"/>
<source>Elevation:</source> <source>Elevation:</source>
<translation>Höhe:</translation> <translation>Höhe:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="172"/> <location filename="../src/optionsdialog.cpp" line="170"/>
<source>Speed:</source> <source>Speed:</source>
<translation>Geschwindigkeit:</translation> <translation>Geschwindigkeit:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="173"/> <location filename="../src/optionsdialog.cpp" line="171"/>
<source>Heart rate:</source> <source>Heart rate:</source>
<translation>Herzfrequenz:</translation> <translation>Herzfrequenz:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="174"/> <location filename="../src/optionsdialog.cpp" line="172"/>
<source>Cadence:</source> <source>Cadence:</source>
<translation>Frequenz:</translation> <translation>Frequenz:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="175"/> <location filename="../src/optionsdialog.cpp" line="173"/>
<source>Power:</source> <source>Power:</source>
<translation>Leistung:</translation> <translation>Leistung:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="177"/> <location filename="../src/optionsdialog.cpp" line="175"/>
<source>Smoothing</source> <source>Smoothing</source>
<translation>Glätten</translation> <translation>Glätten</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="181"/> <location filename="../src/optionsdialog.cpp" line="179"/>
<source>Eliminate GPS outliers</source> <source>Eliminate GPS outliers</source>
<translation>GPS Ausreißer entfernen</translation> <translation>GPS Ausreißer entfernen</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="187"/> <location filename="../src/optionsdialog.cpp" line="185"/>
<source>Outlier elimination</source> <source>Outlier elimination</source>
<translation>Ausreißer Entfernung</translation> <translation>Ausreißer Entfernung</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="194"/> <location filename="../src/optionsdialog.cpp" line="192"/>
<source>Smoothing:</source> <source>Smoothing:</source>
<translation>Glätten:</translation> <translation>Glätten:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="217"/> <location filename="../src/optionsdialog.cpp" line="215"/>
<source>mi/h</source> <source>mi/h</source>
<translation>mi/h</translation> <translation>mi/h</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="220"/> <location filename="../src/optionsdialog.cpp" line="218"/>
<source>km/h</source> <source>km/h</source>
<translation>km/h</translation> <translation>km/h</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="224"/> <location filename="../src/optionsdialog.cpp" line="222"/>
<source>s</source> <source>s</source>
<translation>sek</translation> <translation>sek</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="228"/> <location filename="../src/optionsdialog.cpp" line="226"/>
<source>Minimal speed:</source> <source>Minimal speed:</source>
<translation>Minimale Geschwindigkeit:</translation> <translation>Minimale Geschwindigkeit:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="229"/> <location filename="../src/optionsdialog.cpp" line="227"/>
<source>Minimal duration:</source> <source>Minimal duration:</source>
<translation>Minimale Dauer:</translation> <translation>Minimale Dauer:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="236"/> <location filename="../src/optionsdialog.cpp" line="234"/>
<source>Filtering</source> <source>Filtering</source>
<translation>Datenfilterung</translation> <translation>Datenfilterung</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="237"/> <location filename="../src/optionsdialog.cpp" line="235"/>
<source>Pause detection</source> <source>Pause detection</source>
<translation>Pausenerkennung</translation> <translation>Pausenerkennung</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="249"/> <location filename="../src/optionsdialog.cpp" line="247"/>
<source>mi</source> <source>mi</source>
<translation>mi</translation> <translation>mi</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="252"/> <location filename="../src/optionsdialog.cpp" line="250"/>
<source>km</source> <source>km</source>
<translation>km</translation> <translation>km</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="256"/> <location filename="../src/optionsdialog.cpp" line="254"/>
<source>POI radius:</source> <source>POI radius:</source>
<translation>POI-Radius:</translation> <translation>POI-Radius:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="262"/> <location filename="../src/optionsdialog.cpp" line="260"/>
<location filename="../src/optionsdialog.cpp" line="392"/> <location filename="../src/optionsdialog.cpp" line="390"/>
<source>POI</source> <source>POI</source>
<translation>POI</translation> <translation>POI</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="269"/> <location filename="../src/optionsdialog.cpp" line="267"/>
<source>WYSIWYG</source> <source>WYSIWYG</source>
<translation>WYSIWYG</translation> <translation>WYSIWYG</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="270"/> <location filename="../src/optionsdialog.cpp" line="268"/>
<source>High-Resolution</source> <source>High-Resolution</source>
<translation>Hohe Auflösung</translation> <translation>Hohe Auflösung</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="275"/> <location filename="../src/optionsdialog.cpp" line="273"/>
<source>The printed area is approximately the display area. The map zoom level does not change.</source> <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> <translation>Der Druckbereich ist circa der Anzeigebereich. Das Karten-Zoom ändert sich nicht.</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="277"/> <location filename="../src/optionsdialog.cpp" line="275"/>
<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> <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> <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>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="299"/> <location filename="../src/optionsdialog.cpp" line="297"/>
<source>Name</source> <source>Name</source>
<translation>Name</translation> <translation>Name</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="301"/> <location filename="../src/optionsdialog.cpp" line="299"/>
<source>Date</source> <source>Date</source>
<translation>Datum</translation> <translation>Datum</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="303"/> <location filename="../src/optionsdialog.cpp" line="301"/>
<source>Distance</source> <source>Distance</source>
<translation>Distanz</translation> <translation>Distanz</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="305"/> <location filename="../src/optionsdialog.cpp" line="303"/>
<source>Time</source> <source>Time</source>
<translation>Zeit</translation> <translation>Zeit</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="307"/> <location filename="../src/optionsdialog.cpp" line="305"/>
<source>Moving time</source> <source>Moving time</source>
<translation>Bewegungszeit</translation> <translation>Bewegungszeit</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="309"/> <location filename="../src/optionsdialog.cpp" line="307"/>
<source>Item count (&gt;1)</source> <source>Item count (&gt;1)</source>
<translation>Elementanzahl (&gt;1)</translation> <translation>Elementanzahl (&gt;1)</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="324"/> <location filename="../src/optionsdialog.cpp" line="322"/>
<source>Separate graph page</source> <source>Separate graph page</source>
<translation>Separate Seite für Graphen</translation> <translation>Separate Seite für Graphen</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="334"/> <location filename="../src/optionsdialog.cpp" line="332"/>
<source>Print mode</source> <source>Print mode</source>
<translation>Druckmodus</translation> <translation>Druckmodus</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="335"/> <location filename="../src/optionsdialog.cpp" line="333"/>
<source>Header</source> <source>Header</source>
<translation>Kopfzeile</translation> <translation>Kopfzeile</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="343"/> <location filename="../src/optionsdialog.cpp" line="341"/>
<source>Use OpenGL</source> <source>Use OpenGL</source>
<translation>OpenGL verwenden</translation> <translation>OpenGL verwenden</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="355"/> <location filename="../src/optionsdialog.cpp" line="353"/>
<source>MB</source> <source>MB</source>
<translation>MB</translation> <translation>MB</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="359"/> <location filename="../src/optionsdialog.cpp" line="357"/>
<source>Image cache size:</source> <source>Image cache size:</source>
<translation>Bild-Cache größe:</translation> <translation>Bild-Cache größe:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="372"/> <location filename="../src/optionsdialog.cpp" line="370"/>
<location filename="../src/optionsdialog.cpp" line="395"/> <location filename="../src/optionsdialog.cpp" line="393"/>
<source>System</source> <source>System</source>
<translation>System</translation> <translation>System</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="389"/> <location filename="../src/optionsdialog.cpp" line="387"/>
<source>Appearance</source> <source>Appearance</source>
<translation>Erscheinungsbild</translation> <translation>Erscheinungsbild</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="391"/> <location filename="../src/optionsdialog.cpp" line="389"/>
<source>Data</source> <source>Data</source>
<translation>Daten</translation> <translation>Daten</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="393"/> <location filename="../src/optionsdialog.cpp" line="391"/>
<source>Print &amp; Export</source> <source>Print &amp; Export</source>
<translation>Druck &amp; Export</translation> <translation>Druck &amp; Export</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="422"/> <location filename="../src/optionsdialog.cpp" line="420"/>
<source>Options</source> <source>Options</source>
<translation>Einstellungen</translation> <translation>Einstellungen</translation>
</message> </message>

View File

@ -391,7 +391,7 @@
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="443"/> <location filename="../src/gui.cpp" line="443"/>
<location filename="../src/gui.cpp" line="1010"/> <location filename="../src/gui.cpp" line="1012"/>
<source>Moving time</source> <source>Moving time</source>
<translation>Förflyttningstid</translation> <translation>Förflyttningstid</translation>
</message> </message>
@ -541,22 +541,22 @@
<translation>Offline-kartor läses in från följande mapp vid programstart:</translation> <translation>Offline-kartor läses in från följande mapp vid programstart:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1203"/> <location filename="../src/gui.cpp" line="1205"/>
<source>Open map file</source> <source>Open map file</source>
<translation>Öppna kartfil</translation> <translation>Öppna kartfil</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1224"/> <location filename="../src/gui.cpp" line="1226"/>
<source>Error loading map:</source> <source>Error loading map:</source>
<translation>Fel vid inläsning av karta:</translation> <translation>Fel vid inläsning av karta:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="1239"/> <location filename="../src/gui.cpp" line="1241"/>
<source>No files loaded</source> <source>No files loaded</source>
<translation>Inga filer inlästa</translation> <translation>Inga filer inlästa</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui.cpp" line="1243"/> <location filename="../src/gui.cpp" line="1245"/>
<source>%n files</source> <source>%n files</source>
<translation> <translation>
<numerusform>%n filer</numerusform> <numerusform>%n filer</numerusform>
@ -564,13 +564,13 @@
</translation> </translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="996"/> <location filename="../src/gui.cpp" line="998"/>
<location filename="../src/gui.cpp" line="999"/> <location filename="../src/gui.cpp" line="1001"/>
<source>Date</source> <source>Date</source>
<translation>Datum</translation> <translation>Datum</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="988"/> <location filename="../src/gui.cpp" line="990"/>
<source>Routes</source> <source>Routes</source>
<translation>Rutter</translation> <translation>Rutter</translation>
</message> </message>
@ -595,7 +595,7 @@
<translation>Exportera till PDF...</translation> <translation>Exportera till PDF...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="990"/> <location filename="../src/gui.cpp" line="992"/>
<source>Waypoints</source> <source>Waypoints</source>
<translation>Vägpunkter</translation> <translation>Vägpunkter</translation>
</message> </message>
@ -650,12 +650,12 @@
<translation>Fel vid inläsning av POI-fil:</translation> <translation>Fel vid inläsning av POI-fil:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="982"/> <location filename="../src/gui.cpp" line="984"/>
<source>Name</source> <source>Name</source>
<translation>Namn</translation> <translation>Namn</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="986"/> <location filename="../src/gui.cpp" line="988"/>
<source>Tracks</source> <source>Tracks</source>
<translation>Spår</translation> <translation>Spår</translation>
</message> </message>
@ -677,14 +677,14 @@
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="412"/> <location filename="../src/gui.cpp" line="412"/>
<location filename="../src/gui.cpp" line="1006"/> <location filename="../src/gui.cpp" line="1008"/>
<source>Distance</source> <source>Distance</source>
<translation>Avstånd</translation> <translation>Avstånd</translation>
</message> </message>
<message> <message>
<location filename="../src/gui.cpp" line="419"/> <location filename="../src/gui.cpp" line="419"/>
<location filename="../src/gui.cpp" line="543"/> <location filename="../src/gui.cpp" line="543"/>
<location filename="../src/gui.cpp" line="1008"/> <location filename="../src/gui.cpp" line="1010"/>
<source>Time</source> <source>Time</source>
<translation>Tid</translation> <translation>Tid</translation>
</message> </message>
@ -788,282 +788,286 @@
<translation>Palettskiftning:</translation> <translation>Palettskiftning:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="76"/> <location filename="../src/optionsdialog.cpp" line="50"/>
<source>Track width:</source> <source>Track width:</source>
<translation>Spårtjocklek:</translation> <translation>Spårtjocklek:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="77"/> <location filename="../src/optionsdialog.cpp" line="51"/>
<source>Track style:</source> <source>Track style:</source>
<translation>Spårstil:</translation> <translation>Spårstil:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="79"/> <location filename="../src/optionsdialog.cpp" line="53"/>
<source>Tracks</source> <source>Tracks</source>
<translation>Spår</translation> <translation>Spår</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="89"/> <location filename="../src/optionsdialog.cpp" line="63"/>
<source>Route width:</source> <source>Route width:</source>
<translation>Ruttjocklek:</translation> <translation>Ruttjocklek:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="90"/> <location filename="../src/optionsdialog.cpp" line="64"/>
<source>Route style:</source> <source>Route style:</source>
<translation>Ruttstil:</translation> <translation>Ruttstil:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="92"/> <location filename="../src/optionsdialog.cpp" line="66"/>
<source>Routes</source> <source>Routes</source>
<translation>Rutter</translation> <translation>Rutter</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="96"/> <location filename="../src/optionsdialog.cpp" line="70"/>
<location filename="../src/optionsdialog.cpp" line="129"/> <location filename="../src/optionsdialog.cpp" line="109"/>
<source>Use anti-aliasing</source> <source>Use anti-aliasing</source>
<translation>Använd kantutjämning</translation> <translation>Använd kantutjämning</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="127"/> <location filename="../src/optionsdialog.cpp" line="107"/>
<source>Line width:</source> <source>Line width:</source>
<translation>Linjetjocklek:</translation> <translation>Linjetjocklek:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="143"/> <location filename="../src/optionsdialog.cpp" line="40"/>
<source>Colors</source> <source>Colors</source>
<translation>Färger</translation> <translation>Färger</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="40"/> <location filename="../src/optionsdialog.cpp" line="128"/>
<location filename="../src/optionsdialog.cpp" line="144"/> <source>Background color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/optionsdialog.cpp" line="141"/>
<source>Paths</source> <source>Paths</source>
<translation>Sökvägar</translation> <translation>Sökvägar</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="47"/> <location filename="../src/optionsdialog.cpp" line="129"/>
<source>Map opacity:</source> <source>Map opacity:</source>
<translation>Kartopacitet</translation> <translation>Kartopacitet:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="49"/> <location filename="../src/optionsdialog.cpp" line="143"/>
<source>Map</source> <source>Map</source>
<translation>Karta</translation> <translation>Karta</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="145"/> <location filename="../src/optionsdialog.cpp" line="142"/>
<location filename="../src/optionsdialog.cpp" line="336"/> <location filename="../src/optionsdialog.cpp" line="334"/>
<source>Graphs</source> <source>Graphs</source>
<translation>Diagram</translation> <translation>Diagram</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="152"/> <location filename="../src/optionsdialog.cpp" line="150"/>
<source>Moving average window size</source> <source>Moving average window size</source>
<translation>Flyttar vanlig fönsterstorlek</translation> <translation>Flyttar vanlig fönsterstorlek</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="171"/> <location filename="../src/optionsdialog.cpp" line="169"/>
<source>Elevation:</source> <source>Elevation:</source>
<translation>Höjd:</translation> <translation>Höjd:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="172"/> <location filename="../src/optionsdialog.cpp" line="170"/>
<source>Speed:</source> <source>Speed:</source>
<translation>Hastighet:</translation> <translation>Hastighet:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="173"/> <location filename="../src/optionsdialog.cpp" line="171"/>
<source>Heart rate:</source> <source>Heart rate:</source>
<translation>Hjärtfrekvens:</translation> <translation>Hjärtfrekvens:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="174"/> <location filename="../src/optionsdialog.cpp" line="172"/>
<source>Cadence:</source> <source>Cadence:</source>
<translation>Stegfrekvens:</translation> <translation>Stegfrekvens:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="175"/> <location filename="../src/optionsdialog.cpp" line="173"/>
<source>Power:</source> <source>Power:</source>
<translation>Kraft:</translation> <translation>Kraft:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="177"/> <location filename="../src/optionsdialog.cpp" line="175"/>
<source>Smoothing</source> <source>Smoothing</source>
<translation>Utjämning</translation> <translation>Utjämning</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="181"/> <location filename="../src/optionsdialog.cpp" line="179"/>
<source>Eliminate GPS outliers</source> <source>Eliminate GPS outliers</source>
<translation>Eliminera GPS-extremvärden</translation> <translation>Eliminera GPS-extremvärden</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="187"/> <location filename="../src/optionsdialog.cpp" line="185"/>
<source>Outlier elimination</source> <source>Outlier elimination</source>
<translation>Extremvärdeseliminering</translation> <translation>Extremvärdeseliminering</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="194"/> <location filename="../src/optionsdialog.cpp" line="192"/>
<source>Smoothing:</source> <source>Smoothing:</source>
<translation>Utjämning:</translation> <translation>Utjämning:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="217"/> <location filename="../src/optionsdialog.cpp" line="215"/>
<source>mi/h</source> <source>mi/h</source>
<translation>mi/h</translation> <translation>mi/h</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="220"/> <location filename="../src/optionsdialog.cpp" line="218"/>
<source>km/h</source> <source>km/h</source>
<translation>km/h</translation> <translation>km/h</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="224"/> <location filename="../src/optionsdialog.cpp" line="222"/>
<source>s</source> <source>s</source>
<translation>sek</translation> <translation>sek</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="228"/> <location filename="../src/optionsdialog.cpp" line="226"/>
<source>Minimal speed:</source> <source>Minimal speed:</source>
<translation>Minsta hastighet:</translation> <translation>Minsta hastighet:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="229"/> <location filename="../src/optionsdialog.cpp" line="227"/>
<source>Minimal duration:</source> <source>Minimal duration:</source>
<translation>Kortast varaktighet:</translation> <translation>Kortast varaktighet:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="236"/> <location filename="../src/optionsdialog.cpp" line="234"/>
<source>Filtering</source> <source>Filtering</source>
<translation>Filtrerar</translation> <translation>Filtrerar</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="237"/> <location filename="../src/optionsdialog.cpp" line="235"/>
<source>Pause detection</source> <source>Pause detection</source>
<translation>Pausa identifiering</translation> <translation>Pausa identifiering</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="249"/> <location filename="../src/optionsdialog.cpp" line="247"/>
<source>mi</source> <source>mi</source>
<translation>mi</translation> <translation>mi</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="252"/> <location filename="../src/optionsdialog.cpp" line="250"/>
<source>km</source> <source>km</source>
<translation>km</translation> <translation>km</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="256"/> <location filename="../src/optionsdialog.cpp" line="254"/>
<source>POI radius:</source> <source>POI radius:</source>
<translation>POI-radie:</translation> <translation>POI-radie:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="262"/> <location filename="../src/optionsdialog.cpp" line="260"/>
<location filename="../src/optionsdialog.cpp" line="392"/> <location filename="../src/optionsdialog.cpp" line="390"/>
<source>POI</source> <source>POI</source>
<translation>POI</translation> <translation>POI</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="269"/> <location filename="../src/optionsdialog.cpp" line="267"/>
<source>WYSIWYG</source> <source>WYSIWYG</source>
<translation>WYSIWYG</translation> <translation>WYSIWYG</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="270"/> <location filename="../src/optionsdialog.cpp" line="268"/>
<source>High-Resolution</source> <source>High-Resolution</source>
<translation>Högupplösning</translation> <translation>Högupplösning</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="275"/> <location filename="../src/optionsdialog.cpp" line="273"/>
<source>The printed area is approximately the display area. The map zoom level does not change.</source> <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 skärmen. Kartans zoomnivå ändras inte.</translation> <translation>Det utskrivna området är ungefär detsamma som synligt område skärmen. Kartans zoomnivå ändras inte.</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="277"/> <location filename="../src/optionsdialog.cpp" line="275"/>
<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> <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 att hela innehållet (spår/vägpunkter) passar utskriftsområdet och kartresolutionen är nära som möjligt till utskriftsupplösningen.</translation> <translation>Zoomnivån kommer att ändras att hela innehållet (spår/vägpunkter) passar utskriftsområdet och kartresolutionen är nära som möjligt till utskriftsupplösningen.</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="299"/> <location filename="../src/optionsdialog.cpp" line="297"/>
<source>Name</source> <source>Name</source>
<translation>Namn</translation> <translation>Namn</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="301"/> <location filename="../src/optionsdialog.cpp" line="299"/>
<source>Date</source> <source>Date</source>
<translation>Datum</translation> <translation>Datum</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="303"/> <location filename="../src/optionsdialog.cpp" line="301"/>
<source>Distance</source> <source>Distance</source>
<translation>Avstånd</translation> <translation>Avstånd</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="305"/> <location filename="../src/optionsdialog.cpp" line="303"/>
<source>Time</source> <source>Time</source>
<translation>Tid</translation> <translation>Tid</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="307"/> <location filename="../src/optionsdialog.cpp" line="305"/>
<source>Moving time</source> <source>Moving time</source>
<translation>Förflyttningstid</translation> <translation>Förflyttningstid</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="309"/> <location filename="../src/optionsdialog.cpp" line="307"/>
<source>Item count (&gt;1)</source> <source>Item count (&gt;1)</source>
<translation>Objektantal (&gt;1)</translation> <translation>Objektantal (&gt;1)</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="324"/> <location filename="../src/optionsdialog.cpp" line="322"/>
<source>Separate graph page</source> <source>Separate graph page</source>
<translation>Separat diagramsida</translation> <translation>Separat diagramsida</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="334"/> <location filename="../src/optionsdialog.cpp" line="332"/>
<source>Print mode</source> <source>Print mode</source>
<translation>Utskriftsläge</translation> <translation>Utskriftsläge</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="335"/> <location filename="../src/optionsdialog.cpp" line="333"/>
<source>Header</source> <source>Header</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="343"/> <location filename="../src/optionsdialog.cpp" line="341"/>
<source>Use OpenGL</source> <source>Use OpenGL</source>
<translation>Använd OpenGL</translation> <translation>Använd OpenGL</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="355"/> <location filename="../src/optionsdialog.cpp" line="353"/>
<source>MB</source> <source>MB</source>
<translation>MB</translation> <translation>MB</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="359"/> <location filename="../src/optionsdialog.cpp" line="357"/>
<source>Image cache size:</source> <source>Image cache size:</source>
<translation>Cashe-storlek för bilder:</translation> <translation>Cashe-storlek för bilder:</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="372"/> <location filename="../src/optionsdialog.cpp" line="370"/>
<location filename="../src/optionsdialog.cpp" line="395"/> <location filename="../src/optionsdialog.cpp" line="393"/>
<source>System</source> <source>System</source>
<translation>System</translation> <translation>System</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="389"/> <location filename="../src/optionsdialog.cpp" line="387"/>
<source>Appearance</source> <source>Appearance</source>
<translation>Utseende</translation> <translation>Utseende</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="391"/> <location filename="../src/optionsdialog.cpp" line="389"/>
<source>Data</source> <source>Data</source>
<translation>Data</translation> <translation>Data</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="393"/> <location filename="../src/optionsdialog.cpp" line="391"/>
<source>Print &amp; Export</source> <source>Print &amp; Export</source>
<translation>Utskrift &amp; Export</translation> <translation>Utskrift &amp; Export</translation>
</message> </message>
<message> <message>
<location filename="../src/optionsdialog.cpp" line="422"/> <location filename="../src/optionsdialog.cpp" line="420"/>
<source>Options</source> <source>Options</source>
<translation>Alternativ</translation> <translation>Alternativ</translation>
</message> </message>

View File

@ -871,6 +871,8 @@ void GUI::openOptions()
} }
if (options.mapOpacity != _options.mapOpacity) if (options.mapOpacity != _options.mapOpacity)
_pathView->setMapOpacity(options.mapOpacity); _pathView->setMapOpacity(options.mapOpacity);
if (options.blendColor != _options.blendColor)
_pathView->setBlendColor(options.blendColor);
if (options.trackWidth != _options.trackWidth) if (options.trackWidth != _options.trackWidth)
_pathView->setTrackWidth(options.trackWidth); _pathView->setTrackWidth(options.trackWidth);
if (options.routeWidth != _options.routeWidth) if (options.routeWidth != _options.routeWidth)
@ -1608,6 +1610,8 @@ void GUI::writeSettings()
settings.setValue(PALETTE_SHIFT_SETTING, _options.palette.shift()); settings.setValue(PALETTE_SHIFT_SETTING, _options.palette.shift());
if (_options.mapOpacity != MAP_OPACITY_DEFAULT) if (_options.mapOpacity != MAP_OPACITY_DEFAULT)
settings.setValue(MAP_OPACITY_SETTING, _options.mapOpacity); settings.setValue(MAP_OPACITY_SETTING, _options.mapOpacity);
if (_options.blendColor != BLEND_COLOR_DEFAULT)
settings.setValue(BLEND_COLOR_SETTING, _options.blendColor);
if (_options.trackWidth != TRACK_WIDTH_DEFAULT) if (_options.trackWidth != TRACK_WIDTH_DEFAULT)
settings.setValue(TRACK_WIDTH_SETTING, _options.trackWidth); settings.setValue(TRACK_WIDTH_SETTING, _options.trackWidth);
if (_options.routeWidth != ROUTE_WIDTH_DEFAULT) if (_options.routeWidth != ROUTE_WIDTH_DEFAULT)
@ -1809,6 +1813,8 @@ void GUI::readSettings()
_options.palette = Palette(pc, ps); _options.palette = Palette(pc, ps);
_options.mapOpacity = settings.value(MAP_OPACITY_SETTING, _options.mapOpacity = settings.value(MAP_OPACITY_SETTING,
MAP_OPACITY_DEFAULT).toInt(); MAP_OPACITY_DEFAULT).toInt();
_options.blendColor = settings.value(BLEND_COLOR_SETTING,
BLEND_COLOR_DEFAULT).value<QColor>();
_options.trackWidth = settings.value(TRACK_WIDTH_SETTING, _options.trackWidth = settings.value(TRACK_WIDTH_SETTING,
TRACK_WIDTH_DEFAULT).toInt(); TRACK_WIDTH_DEFAULT).toInt();
_options.routeWidth = settings.value(ROUTE_WIDTH_SETTING, _options.routeWidth = settings.value(ROUTE_WIDTH_SETTING,
@ -1864,6 +1870,7 @@ void GUI::readSettings()
_pathView->setPalette(_options.palette); _pathView->setPalette(_options.palette);
_pathView->setMapOpacity(_options.mapOpacity); _pathView->setMapOpacity(_options.mapOpacity);
_pathView->setBlendColor(_options.blendColor);
_pathView->setTrackWidth(_options.trackWidth); _pathView->setTrackWidth(_options.trackWidth);
_pathView->setRouteWidth(_options.routeWidth); _pathView->setRouteWidth(_options.routeWidth);
_pathView->setTrackStyle(_options.trackStyle); _pathView->setTrackStyle(_options.trackStyle);

View File

@ -37,36 +37,10 @@ QWidget *OptionsDialog::createAppearancePage()
paletteLayout->addRow(tr("Base color:"), _baseColor); paletteLayout->addRow(tr("Base color:"), _baseColor);
paletteLayout->addRow(tr("Palette shift:"), _colorOffset); paletteLayout->addRow(tr("Palette shift:"), _colorOffset);
#ifndef Q_OS_MAC #ifndef Q_OS_MAC
QGroupBox *pathsBox = new QGroupBox(tr("Paths")); QGroupBox *colorBox = new QGroupBox(tr("Colors"));
pathsBox->setLayout(paletteLayout); colorBox->setLayout(paletteLayout);
#endif #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);
_trackWidth = new QSpinBox(); _trackWidth = new QSpinBox();
_trackWidth->setValue(_options->trackWidth); _trackWidth->setValue(_options->trackWidth);
_trackWidth->setMinimum(1); _trackWidth->setMinimum(1);
@ -101,6 +75,9 @@ QWidget *OptionsDialog::createAppearancePage()
QWidget *pathTab = new QWidget(); QWidget *pathTab = new QWidget();
QVBoxLayout *pathTabLayout = new QVBoxLayout(); QVBoxLayout *pathTabLayout = new QVBoxLayout();
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
QFrame *l0 = new QFrame();
l0->setFrameShape(QFrame::HLine);
l0->setFrameShadow(QFrame::Sunken);
QFrame *l1 = new QFrame(); QFrame *l1 = new QFrame();
l1->setFrameShape(QFrame::HLine); l1->setFrameShape(QFrame::HLine);
l1->setFrameShadow(QFrame::Sunken); l1->setFrameShadow(QFrame::Sunken);
@ -108,11 +85,14 @@ QWidget *OptionsDialog::createAppearancePage()
l2->setFrameShape(QFrame::HLine); l2->setFrameShape(QFrame::HLine);
l2->setFrameShadow(QFrame::Sunken); l2->setFrameShadow(QFrame::Sunken);
pathTabLayout->addLayout(paletteLayout);
pathTabLayout->addWidget(l0);
pathTabLayout->addLayout(trackLayout); pathTabLayout->addLayout(trackLayout);
pathTabLayout->addWidget(l1); pathTabLayout->addWidget(l1);
pathTabLayout->addLayout(routeLayout); pathTabLayout->addLayout(routeLayout);
pathTabLayout->addWidget(l2); pathTabLayout->addWidget(l2);
#else // Q_OS_MAC #else // Q_OS_MAC
pathTabLayout->addWidget(colorBox);
pathTabLayout->addWidget(trackBox); pathTabLayout->addWidget(trackBox);
pathTabLayout->addWidget(routeBox); pathTabLayout->addWidget(routeBox);
#endif // Q_OS_MAC #endif // Q_OS_MAC
@ -139,10 +119,28 @@ QWidget *OptionsDialog::createAppearancePage()
graphTabLayout->addStretch(); graphTabLayout->addStretch();
graphTab->setLayout(graphTabLayout); graphTab->setLayout(graphTabLayout);
_mapOpacity = new PercentSlider();
_mapOpacity->setValue(_options->mapOpacity);
_blendColor = new ColorBox();
_blendColor->setColor(_options->blendColor);
QFormLayout *mapLayout = new QFormLayout();
mapLayout->addRow(tr("Background color:"), _blendColor);
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(); QTabWidget *appearancePage = new QTabWidget();
appearancePage->addTab(colorTab, tr("Colors"));
appearancePage->addTab(pathTab, tr("Paths")); appearancePage->addTab(pathTab, tr("Paths"));
appearancePage->addTab(graphTab, tr("Graphs")); appearancePage->addTab(graphTab, tr("Graphs"));
appearancePage->addTab(mapTab, tr("Map"));
return appearancePage; return appearancePage;
} }
@ -428,6 +426,7 @@ void OptionsDialog::accept()
_options->palette.setColor(_baseColor->color()); _options->palette.setColor(_baseColor->color());
_options->palette.setShift(_colorOffset->value()); _options->palette.setShift(_colorOffset->value());
_options->mapOpacity = _mapOpacity->value(); _options->mapOpacity = _mapOpacity->value();
_options->blendColor = _blendColor->color();
_options->trackWidth = _trackWidth->value(); _options->trackWidth = _trackWidth->value();
_options->trackStyle = (Qt::PenStyle) _trackStyle->itemData( _options->trackStyle = (Qt::PenStyle) _trackStyle->itemData(
_trackStyle->currentIndex()).toInt(); _trackStyle->currentIndex()).toInt();

View File

@ -19,6 +19,7 @@ struct Options {
// Appearance // Appearance
Palette palette; Palette palette;
int mapOpacity; int mapOpacity;
QColor blendColor;
int trackWidth; int trackWidth;
int routeWidth; int routeWidth;
Qt::PenStyle trackStyle; Qt::PenStyle trackStyle;
@ -76,6 +77,7 @@ private:
ColorBox *_baseColor; ColorBox *_baseColor;
QDoubleSpinBox *_colorOffset; QDoubleSpinBox *_colorOffset;
PercentSlider *_mapOpacity; PercentSlider *_mapOpacity;
ColorBox *_blendColor;
QSpinBox *_trackWidth; QSpinBox *_trackWidth;
StyleComboBox *_trackStyle; StyleComboBox *_trackStyle;
QSpinBox *_routeWidth; QSpinBox *_routeWidth;

View File

@ -47,6 +47,7 @@ PathView::PathView(Map *map, POI *poi, QWidget *parent)
_units = Metric; _units = Metric;
_opacity = 1.0; _opacity = 1.0;
_blendColor = Qt::white;
_showMap = true; _showMap = true;
_showTracks = true; _showTracks = true;
@ -685,11 +686,17 @@ void PathView::setMapOpacity(int opacity)
resetCachedContent(); resetCachedContent();
} }
void PathView::setBlendColor(const QColor &color)
{
_blendColor = color;
resetCachedContent();
}
void PathView::drawBackground(QPainter *painter, const QRectF &rect) void PathView::drawBackground(QPainter *painter, const QRectF &rect)
{ {
if (_showMap) { if (_showMap) {
if (_opacity < 1.0) { if (_opacity < 1.0) {
painter->fillRect(rect, Qt::white); painter->fillRect(rect, _blendColor);
painter->setOpacity(_opacity); painter->setOpacity(_opacity);
} }
_map->draw(painter, rect); _map->draw(painter, rect);

View File

@ -64,6 +64,7 @@ public slots:
void setTrackStyle(Qt::PenStyle style); void setTrackStyle(Qt::PenStyle style);
void setRouteStyle(Qt::PenStyle style); void setRouteStyle(Qt::PenStyle style);
void setMapOpacity(int opacity); void setMapOpacity(int opacity);
void setBlendColor(const QColor &color);
private slots: private slots:
void updatePOI(); void updatePOI();
@ -108,6 +109,7 @@ private:
Palette _palette; Palette _palette;
Units _units; Units _units;
qreal _opacity; qreal _opacity;
QColor _blendColor;
bool _showMap; bool _showMap;
bool _showTracks; bool _showTracks;

View File

@ -80,6 +80,8 @@
#define PALETTE_SHIFT_DEFAULT 0.62 #define PALETTE_SHIFT_DEFAULT 0.62
#define MAP_OPACITY_SETTING "mapOpacity" #define MAP_OPACITY_SETTING "mapOpacity"
#define MAP_OPACITY_DEFAULT 100 #define MAP_OPACITY_DEFAULT 100
#define BLEND_COLOR_SETTING "blendColor"
#define BLEND_COLOR_DEFAULT QColor(Qt::white)
#define TRACK_WIDTH_SETTING "trackWidth" #define TRACK_WIDTH_SETTING "trackWidth"
#define TRACK_WIDTH_DEFAULT 3 #define TRACK_WIDTH_DEFAULT 3
#define ROUTE_WIDTH_SETTING "routeWidth" #define ROUTE_WIDTH_SETTING "routeWidth"