1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-08 16:24:28 +02:00

Compare commits

..

124 Commits
7.6 ... 7.11

Author SHA1 Message Date
a11b926a98 Version++ 2019-07-18 08:14:47 +02:00
70b5371a6e Improved error handling 2019-07-18 00:26:27 +02:00
d07b6c6a9d Load TRE subdivs on demand, not all on tile load 2019-07-16 22:08:23 +02:00
c9a62e8b61 Removed obsolete stuff 2019-07-16 00:23:08 +02:00
aa3579c0be Fixed QT4 build 2019-07-13 15:14:29 +02:00
297177ad41 Cosmetics 2019-07-13 14:42:44 +02:00
0e9720f68b Optimization 2019-07-13 14:18:16 +02:00
c1f36e5fbb Improved shields layout algorithm 2019-07-13 08:36:04 +02:00
a20fd3e474 Fixed cut&paste error 2019-07-11 18:55:12 +02:00
aba78f3baa Properly handle self-asignments 2019-07-10 23:08:58 +02:00
2f24bb5462 Some more code cleanup 2019-07-10 21:49:46 +02:00
c1fdb21fad Cosmetics 2019-07-10 21:37:03 +02:00
6bea3b7ebf Suppress QT's deprecated functions warnings 2019-07-10 21:17:52 +02:00
a7efa80e8f Merge branch 'master' of https://github.com/tumic0/GPXSee 2019-07-08 21:19:54 +02:00
4e9faf3a23 Code cleanup 2019-07-08 21:19:25 +02:00
d4e153d10f Updated PL translation (#217) 2019-07-08 08:31:43 +02:00
86cc30433c Merge branch 'origin/master' into Weblate. 2019-07-07 19:16:56 +02:00
a41e89053d Version++ 2019-07-07 19:17:06 +02:00
63335aa004 IMG maps font sizes adjustement 2019-07-04 21:38:57 +02:00
3243179b32 Merge branch 'origin/master' into Weblate. 2019-07-04 21:38:54 +02:00
b04388f776 Merge branch 'origin/master' into Weblate. 2019-07-04 18:18:22 +02:00
53e960fabe Improved IMG map memory management 2019-07-04 18:18:03 +02:00
c56e6c14d1 Merge branch 'origin/master' into Weblate. 2019-07-04 09:06:18 +02:00
b4cc88446a Improved IMG maps loading (lazy loading) 2019-07-04 09:05:30 +02:00
2860530d3c Merge branch 'origin/master' into Weblate. 2019-07-02 08:52:42 +02:00
863aa3f542 Allow lower zooms, properly sort cities 2019-07-02 08:52:26 +02:00
fa0a380839 Merge branch 'origin/master' into Weblate. 2019-07-01 22:54:23 +02:00
03d5745da9 Added missing label validity checks 2019-07-01 22:53:34 +02:00
52cf7c4278 Merge branch 'origin/master' into Weblate. 2019-06-30 23:39:46 +02:00
5c86fc4103 Added missing kilometer markers color change 2019-06-30 23:39:31 +02:00
3ad8c58911 Merge branch 'origin/master' into Weblate. 2019-06-30 23:18:38 +02:00
ce5a3be7ca Properly split the shield label 2019-06-30 23:18:30 +02:00
83e6772de2 Merge branch 'origin/master' into Weblate. 2019-06-30 23:09:14 +02:00
db0df92933 Use a smaller font for shield labels 2019-06-30 23:09:09 +02:00
a3bc48c5d3 Merge branch 'origin/master' into Weblate. 2019-06-30 20:39:33 +02:00
537b1c3716 Added support for label shields 2019-06-30 20:39:22 +02:00
561fadb4f2 Do not resize the font on every usage 2019-06-29 10:27:12 +02:00
a39f2bc2a9 Merge branch 'origin/master' into Weblate. 2019-06-29 10:27:09 +02:00
ebb690673c Code cleanup 2019-06-28 07:43:16 +02:00
7ee9ea0fa4 Merge branch 'origin/master' into Weblate. 2019-06-28 07:43:10 +02:00
e10808fc7c Merge branch 'origin/master' into Weblate. 2019-06-23 10:19:36 +02:00
255f4ca63c Improved handling of track data with time skews 2019-06-23 10:18:56 +02:00
d2a65b4cb1 Merge branch 'origin/master' into Weblate. 2019-06-22 20:33:43 +02:00
3a046af6b6 Fixed crash on TYP files with incomplete styles 2019-06-22 20:32:37 +02:00
d8be4f8951 Merge branch 'origin/master' into Weblate. 2019-06-21 23:02:21 +02:00
ee09b2e667 Code cleanup 2019-06-21 23:02:13 +02:00
2811d7b2a3 Translated using Weblate (French)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fr/
2019-06-18 20:33:15 +02:00
811f5f869a POI category fix 2019-06-15 09:25:16 +02:00
d574710bf6 Merge branch 'origin/master' into Weblate. 2019-06-10 19:27:29 +02:00
1e6d9efb3b Version++ 2019-06-10 19:27:14 +02:00
74b6fbeba4 Merge branch 'origin/master' into Weblate. 2019-06-10 19:14:48 +02:00
82b7fced53 Removed the annoying map view re-zooming on window resize.
Fixes #74
2019-06-10 19:12:34 +02:00
3b6894814c Merge branch 'origin/master' into Weblate. 2019-06-08 12:02:47 +02:00
3de0ed055a Cut label text fix (workaround) 2019-06-08 12:01:35 +02:00
d4ad939978 Merge branch 'origin/master' into Weblate. 2019-06-07 20:33:49 +02:00
06e1685f85 Improved text layout/rendering on IMG maps 2019-06-07 20:33:08 +02:00
1b419c99f5 Merge branch 'origin/master' into Weblate. 2019-06-07 09:39:17 +02:00
f2d32b30d3 Merge branch 'master' of https://github.com/tumic0/GPXSee 2019-06-07 09:39:04 +02:00
56013c01fd Improved POI handling in IMG maps 2019-06-07 09:37:10 +02:00
e0e1cff13e Translated using Weblate (French)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fr/
2019-06-04 08:50:13 +02:00
b7f2eeab3b Code cleanup 2019-05-30 19:36:24 +02:00
de3ea4e292 Added QuadTiles support info 2019-05-30 00:38:03 +02:00
494a8a6da1 Fixed tick box size computation 2019-05-29 21:24:37 +02:00
47206316b7 Path tick distance now based on map resolution rather then path length. 2019-05-29 18:38:49 +02:00
fe69280cc5 Fixed broken zoom fit on IMG maps 2019-05-29 18:27:11 +02:00
ff3c0aafa1 Fixed memory leak 2019-05-29 18:26:29 +02:00
2fb2beecda Translated using Weblate (Czech)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/cs/
2019-05-28 23:38:33 +02:00
432ca35df9 Merge branch 'origin/master' into Weblate. 2019-05-28 23:26:34 +02:00
301172f5e8 Added support for GPX 1.0 speed data 2019-05-28 23:26:03 +02:00
20956625db Enable hover in styles that use it 2019-05-28 23:22:58 +02:00
273fe51dcd Merge branch 'origin/master' into Weblate. 2019-05-28 07:29:26 +02:00
e4098e6dfb Version++ 2019-05-28 07:29:07 +02:00
747acf1580 Merge branch 'origin/master' into Weblate. 2019-05-28 07:27:55 +02:00
738b49668c Fixed broken WMS scale denominators -> zooms transition 2019-05-28 07:26:13 +02:00
48674bb50b Propper path tick tooltip
+ code cleanup
2019-05-28 07:24:39 +02:00
6d054c76f9 Translated using Weblate (German)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/de/
2019-05-25 12:52:19 +02:00
40578d0dee Merge branch 'origin/master' into Weblate. 2019-05-24 18:38:02 +02:00
a16354a6ba Propper reimplementation of the path ticks 2019-05-24 18:37:15 +02:00
44862cebcc Translated using Weblate (Turkish)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/tr/
2019-05-24 18:10:46 +02:00
ef5cfde22b Translated using Weblate (Norwegian Bokmål)
Currently translated at 91.2% (312 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/nb_NO/
2019-05-24 10:46:33 +02:00
019bd4de10 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/pt_BR/
2019-05-24 10:46:32 +02:00
9c6ffed35e Translated using Weblate (Swedish)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/sv/
2019-05-24 10:46:32 +02:00
d7a55b3f9c Translated using Weblate (Finnish)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fi/
2019-05-23 20:40:11 +02:00
a9327d2cca Translated using Weblate (Russian)
Currently translated at 100.0% (342 of 342 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ru/
2019-05-23 20:40:10 +02:00
c059cbb848 Merge branch 'origin/master' into Weblate. 2019-05-23 19:25:57 +02:00
3b3559eacf Localization update 2019-05-23 19:25:44 +02:00
f071e88bd0 Merge branch 'origin/master' into Weblate. 2019-05-23 19:19:32 +02:00
8bec307e03 km/mi markers polishing 2019-05-23 19:19:07 +02:00
3204723614 Merge branch 'origin/master' into Weblate. 2019-05-23 08:46:45 +02:00
c688b5fc09 Added optional km/mi markers
closes #84
2019-05-23 08:44:55 +02:00
94bca87982 Merge branch 'origin/master' into Weblate. 2019-05-21 18:00:03 +02:00
3f97d12a76 Code cleanup 2019-05-21 17:59:46 +02:00
ab7aa63a33 Merge branch 'origin/master' into Weblate. 2019-05-21 17:45:25 +02:00
4de22d6679 Fixed broken IMG maps after print/PDF export 2019-05-21 17:44:47 +02:00
c58a52e362 Merge branch 'origin/master' into Weblate. 2019-05-20 23:24:04 +02:00
5b2af9fc9c Added support for QuadTiles maps 2019-05-20 23:23:24 +02:00
4eb54ed8f2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/pt_BR/
2019-05-20 05:48:41 +02:00
681c83d017 Version++ 2019-05-18 20:40:59 +02:00
dbd8750524 Updated appdata.xml info 2019-05-18 20:39:55 +02:00
d9489935df Translated using Weblate (German)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/de/
2019-05-18 15:27:12 +02:00
f5d2ccfdb9 Translated using Weblate (Swedish)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/sv/
2019-05-18 07:11:35 +02:00
1afd59902b Translated using Weblate (Turkish)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/tr/
2019-05-17 18:01:40 +02:00
a253147760 Translated using Weblate (Finnish)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fi/
2019-05-17 18:01:40 +02:00
667a1c350d Translated using Weblate (Norwegian Bokmål)
Currently translated at 91.5% (312 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/nb_NO/
2019-05-17 18:01:39 +02:00
d7a9464e37 Translated using Weblate (Czech)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/cs/
2019-05-17 18:01:38 +02:00
d1be147f64 Translated using Weblate (Russian)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ru/
2019-05-17 18:01:38 +02:00
98708f11ac Localization update 2019-05-16 22:52:39 +02:00
c5605eeab1 Translated using Weblate (Swedish)
Currently translated at 100.0% (340 of 340 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/sv/
2019-05-16 22:02:52 +02:00
f29ac69594 Translated using Weblate (Turkish)
Currently translated at 100.0% (340 of 340 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/tr/
2019-05-16 22:02:52 +02:00
49101cba6c Translated using Weblate (Finnish)
Currently translated at 100.0% (340 of 340 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fi/
2019-05-16 22:02:52 +02:00
c1f746b32a Translated using Weblate (Norwegian Bokmål)
Currently translated at 91.5% (311 of 340 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/nb_NO/
2019-05-16 22:02:52 +02:00
704be7baf9 Translated using Weblate (Russian)
Currently translated at 100.0% (340 of 340 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ru/
2019-05-16 22:02:52 +02:00
3c6ec704ab Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/pt_BR/
2019-05-16 22:02:52 +02:00
bf6b6fb100 Translated using Weblate (Finnish)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fi/
2019-05-16 22:02:52 +02:00
56a2618f29 Translated using Weblate (Russian)
Currently translated at 100.0% (341 of 341 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ru/
2019-05-16 22:02:52 +02:00
785bf94a01 Added support for user defined TYP files for Garmin IMG maps 2019-05-16 20:23:37 +02:00
3747ae6afc Localization update 2019-05-15 21:36:01 +02:00
1f5a051bee Fixed broken text display in Qt < 5.4
(Qt bug workaround)
2019-05-15 21:29:34 +02:00
268c42ab03 Always limit the number of shown items in the combo box. 2019-05-15 20:33:03 +02:00
8a8595d98e Fixed Qt4 build 2019-05-15 07:47:57 +02:00
37c971a720 Added support for vector maps projection setting
Removed obsolete "Always show the map" setting
2019-05-14 23:01:24 +02:00
f0d71d667b Fixed builds with Qt 5 versions < 5.4 2019-05-12 21:26:45 +02:00
f652457f19 One Garmin is enough 2019-05-12 18:13:30 +02:00
1acf603076 Added Garmin IMG info 2019-05-12 18:04:04 +02:00
157 changed files with 4915 additions and 3588 deletions

View File

@ -1,4 +1,4 @@
version: 7.6.{build}
version: 7.11.{build}
configuration: Release
platform: Any CPU
environment:

View File

@ -3,8 +3,8 @@ GPXSee is a Qt-based GPS log file viewer and analyzer that supports all common G
## Features
* Opens GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, GeoJSON, OziExplorer (PLT, RTE, WPT), Garmin CSV and geotagged JPEG files.
* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS).
* Offline maps (MBTiles, OziExplorer maps, TrekBuddy maps/atlases, Garmin JNX maps, TwoNav RMaps, GeoTIFF images).
* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS, QuadTiles).
* Offline maps (MBTiles, OziExplorer maps, TrekBuddy maps/atlases, Garmin IMG & JNX maps, TwoNav RMaps, GeoTIFF images).
* Elevation, speed, heart rate, cadence, power, temperature and gear ratio/shifts graphs.
* Support for DEM files (SRTM HGT).
* Support for multiple tracks in one view.

View File

@ -3,7 +3,7 @@ unix:!macx {
} else {
TARGET = GPXSee
}
VERSION = 7.6
VERSION = 7.11
QT += core \
gui \
@ -177,7 +177,11 @@ HEADERS += src/common/config.h \
src/map/IMG/subdiv.h \
src/map/IMG/units.h \
src/map/IMG/style.h \
src/map/IMG/netfile.h
src/map/IMG/netfile.h \
src/GUI/limitedcombobox.h \
src/GUI/pathtickitem.h \
src/map/IMG/textitem.h \
src/map/IMG/label.h
SOURCES += src/main.cpp \
src/common/coordinates.cpp \
src/common/rectc.cpp \
@ -306,14 +310,17 @@ SOURCES += src/main.cpp \
src/map/IMG/lblfile.cpp \
src/map/IMG/vectortile.cpp \
src/map/IMG/style.cpp \
src/map/IMG/netfile.cpp
src/map/IMG/netfile.cpp \
src/GUI/pathtickitem.cpp \
src/map/IMG/textitem.cpp
greaterThan(QT_MAJOR_VERSION, 4) {
HEADERS += src/data/geojsonparser.h
SOURCES += src/data/geojsonparser.cpp
}
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
DEFINES += APP_VERSION=\\\"$$VERSION\\\" \
QT_NO_DEPRECATED_WARNINGS
DEFINES *= QT_USE_QSTRINGBUILDER
RESOURCES += gpxsee.qrc
@ -388,7 +395,7 @@ win32 {
unix:!macx {
isEmpty(PREFIX):PREFIX = /usr/local
lessThan(QT_MAJOR_VERSION, 5) {DEFINES += PREFIX=\\\"$$PREFIX\\\"}
DEFINES += PREFIX=\\\"$$PREFIX\\\"
maps.files = pkg/maps/*
maps.path = $$PREFIX/share/gpxsee/maps

View File

@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/">
<!-- GUI -->
<file alias="gpxsee.png">icons/gpxsee.png</file>
<file alias="gpxsee@2x.png">icons/gpxsee@2x.png</file>
<file alias="dialog-close.png">icons/GUI/dialog-close.png</file>
@ -42,5 +43,83 @@
<file alias="view-filter@2x.png">icons/GUI/view-filter@2x.png</file>
<file alias="applications-internet_32.png">icons/GUI/applications-internet_32.png</file>
<file alias="applications-internet_32@2x.png">icons/GUI/applications-internet_32@2x.png</file>
<!-- POI -->
<file alias="airfield-11.png">icons/POI/airfield-11.png</file>
<file alias="airport-11.png">icons/POI/airport-11.png</file>
<file alias="amusement-park-11.png">icons/POI/amusement-park-11.png</file>
<file alias="bakery-11.png">icons/POI/bakery-11.png</file>
<file alias="bank-11.png">icons/POI/bank-11.png</file>
<file alias="bar-11.png">icons/POI/bar-11.png</file>
<file alias="bbq-11.png">icons/POI/bbq-11.png</file>
<file alias="beach-11.png">icons/POI/beach-11.png</file>
<file alias="bowling-alley-11.png">icons/POI/bowling-alley-11.png</file>
<file alias="building-alt1-11.png">icons/POI/building-alt1-11.png</file>
<file alias="bridge-11.png">icons/POI/bridge-11.png</file>
<file alias="bus-11.png">icons/POI/bus-11.png</file>
<file alias="cafe-11.png">icons/POI/cafe-11.png</file>
<file alias="campsite-11.png">icons/POI/campsite-11.png</file>
<file alias="car-11.png">icons/POI/car-11.png</file>
<file alias="car-rental-11.png">icons/POI/car-rental-11.png</file>
<file alias="car-repair-11.png">icons/POI/car-repair-11.png</file>
<file alias="casino-11.png">icons/POI/casino-11.png</file>
<file alias="cemetery-11.png">icons/POI/cemetery-11.png</file>
<file alias="cinema-11.png">icons/POI/cinema-11.png</file>
<file alias="clothing-store-11.png">icons/POI/clothing-store-11.png</file>
<file alias="communications-tower-11.png">icons/POI/communications-tower-11.png</file>
<file alias="dam-11.png">icons/POI/dam-11.png</file>
<file alias="danger-11.png">icons/POI/danger-11.png</file>
<file alias="drinking-water-11.png">icons/POI/drinking-water-11.png</file>
<file alias="fast-food-11.png">icons/POI/fast-food-11.png</file>
<file alias="fire-station-11.png">icons/POI/fire-station-11.png</file>
<file alias="fitness-centre-11.png">icons/POI/fitness-centre-11.png</file>
<file alias="fuel-11.png">icons/POI/fuel-11.png</file>
<file alias="furniture-11.png">icons/POI/furniture-11.png</file>
<file alias="garden-11.png">icons/POI/garden-11.png</file>
<file alias="garden-centre-11.png">icons/POI/garden-centre-11.png</file>
<file alias="golf-11.png">icons/POI/golf-11.png</file>
<file alias="grocery-11.png">icons/POI/grocery-11.png</file>
<file alias="hairdresser-11.png">icons/POI/hairdresser-11.png</file>
<file alias="harbor-11.png">icons/POI/harbor-11.png</file>
<file alias="hardware-11.png">icons/POI/hardware-11.png</file>
<file alias="heliport-11.png">icons/POI/heliport-11.png</file>
<file alias="hospital-11.png">icons/POI/hospital-11.png</file>
<file alias="information-11.png">icons/POI/information-11.png</file>
<file alias="landmark-11.png">icons/POI/landmark-11.png</file>
<file alias="library-11.png">icons/POI/library-11.png</file>
<file alias="lodging-11.png">icons/POI/lodging-11.png</file>
<file alias="mountain-11.png">icons/POI/mountain-11.png</file>
<file alias="museum-11.png">icons/POI/museum-11.png</file>
<file alias="park-11.png">icons/POI/park-11.png</file>
<file alias="parking-11.png">icons/POI/parking-11.png</file>
<file alias="pharmacy-11.png">icons/POI/pharmacy-11.png</file>
<file alias="picnic-site-11.png">icons/POI/picnic-site-11.png</file>
<file alias="place-of-worship-11.png">icons/POI/place-of-worship-11.png</file>
<file alias="police-11.png">icons/POI/police-11.png</file>
<file alias="post-11.png">icons/POI/post-11.png</file>
<file alias="prison-11.png">icons/POI/prison-11.png</file>
<file alias="religious-christian-11.png">icons/POI/religious-christian-11.png</file>
<file alias="religious-jewish-11.png">icons/POI/religious-jewish-11.png</file>
<file alias="religious-muslim-11.png">icons/POI/religious-muslim-11.png</file>
<file alias="restaurant-11.png">icons/POI/restaurant-11.png</file>
<file alias="restaurant-noodle-11.png">icons/POI/restaurant-noodle-11.png</file>
<file alias="restaurant-pizza-11.png">icons/POI/restaurant-pizza-11.png</file>
<file alias="restaurant-seafood-11.png">icons/POI/restaurant-seafood-11.png</file>
<file alias="roadblock-11.png">icons/POI/roadblock-11.png</file>
<file alias="school-11.png">icons/POI/school-11.png</file>
<file alias="shelter-11.png">icons/POI/shelter-11.png</file>
<file alias="shop-11.png">icons/POI/shop-11.png</file>
<file alias="skiing-11.png">icons/POI/skiing-11.png</file>
<file alias="soccer-11.png">icons/POI/soccer-11.png</file>
<file alias="swimming-11.png">icons/POI/swimming-11.png</file>
<file alias="theatre-11.png">icons/POI/theatre-11.png</file>
<file alias="telephone-11.png">icons/POI/telephone-11.png</file>
<file alias="toilet-11.png">icons/POI/toilet-11.png</file>
<file alias="town-hall-11.png">icons/POI/town-hall-11.png</file>
<file alias="viewpoint-11.png">icons/POI/viewpoint-11.png</file>
<file alias="village-11.png">icons/POI/village-11.png</file>
<file alias="waterfall-11.png">icons/POI/waterfall-11.png</file>
<file alias="wetland-11.png">icons/POI/wetland-11.png</file>
<file alias="zoo-11.png">icons/POI/zoo-11.png</file>
</qresource>
</RCC>

BIN
icons/POI/airfield-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

BIN
icons/POI/airport-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

BIN
icons/POI/bakery-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

BIN
icons/POI/bank-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

BIN
icons/POI/bar-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
icons/POI/bbq-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

BIN
icons/POI/beach-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

BIN
icons/POI/bridge-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

BIN
icons/POI/bus-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

BIN
icons/POI/cafe-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

BIN
icons/POI/campsite-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

BIN
icons/POI/car-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

BIN
icons/POI/car-rental-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

BIN
icons/POI/car-repair-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

BIN
icons/POI/casino-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
icons/POI/cemetery-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

BIN
icons/POI/cinema-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

BIN
icons/POI/dam-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

BIN
icons/POI/danger-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

BIN
icons/POI/fast-food-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

BIN
icons/POI/fuel-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

BIN
icons/POI/furniture-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

BIN
icons/POI/garden-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

BIN
icons/POI/golf-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

BIN
icons/POI/grocery-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

BIN
icons/POI/harbor-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

BIN
icons/POI/hardware-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

BIN
icons/POI/heliport-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

BIN
icons/POI/hospital-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

BIN
icons/POI/landmark-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

BIN
icons/POI/library-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

126
icons/POI/licence.txt Normal file
View File

@ -0,0 +1,126 @@
The POI icons are Mapbox Maki icons (https://labs.mapbox.com/maki-icons/)
licensed under CC0.
-----
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

BIN
icons/POI/lodging-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

BIN
icons/POI/mountain-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

BIN
icons/POI/museum-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

BIN
icons/POI/park-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

BIN
icons/POI/parking-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
icons/POI/pharmacy-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

BIN
icons/POI/police-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

BIN
icons/POI/post-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

BIN
icons/POI/prison-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

BIN
icons/POI/restaurant-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

BIN
icons/POI/roadblock-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

BIN
icons/POI/school-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

BIN
icons/POI/shelter-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

BIN
icons/POI/shop-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

BIN
icons/POI/skiing-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

BIN
icons/POI/soccer-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

BIN
icons/POI/swimming-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

BIN
icons/POI/telephone-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

BIN
icons/POI/theatre-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

BIN
icons/POI/toilet-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

BIN
icons/POI/town-hall-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

BIN
icons/POI/viewpoint-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

BIN
icons/POI/village-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

BIN
icons/POI/waterfall-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

BIN
icons/POI/wetland-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
icons/POI/zoo-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -7,15 +7,17 @@
<name>GPXSee</name>
<summary>GPS log file viewer and analyzer</summary>
<description>
<p>GPXSee is a GPS log file viewer and analyzer that supports GPX, TCX,
KML, FIT, IGC, NMEA, SLF, LOC, GeoJSON and OziExplorer files.</p>
<p>GPXSee is a GPS log file viewer and analyzer that supports all common
GPS log file formats.</p>
<p>Features:</p>
<ul>
<li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT,
WPT, RTE), GeoJSON, Garmin CSV and geotagged JPEG files.</li>
<li>User-definable online maps (OpenStreetMap/Google tiles, WMTS,
WMS, TMS).</li>
<li>Offline maps (MBTiles, OziExplorer maps, TrekBuddy maps/atlases,
GeoTIFF images).</li>
TwoNav RMaps, Garmin IMG &amp; JNX, GeoTIFF images).</li>
<li>Elevation, speed, heart rate, cadence, power and temperature
graphs.</li>
<li>Support for multiple tracks in one view.</li>
@ -23,8 +25,6 @@
<li>Print/export to PDF.</li>
<li>Full-screen mode.</li>
<li>HiDPI/Retina displays &amp; maps support.</li>
<li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT,
WPT, RTE), GeoJSON and Garmin CSV files.</li>
</ul>
</description>

View File

@ -7,7 +7,7 @@
; The name of the installer
Name "GPXSee"
; Program version
!define VERSION "7.6"
!define VERSION "7.11"
; The file to write
OutFile "GPXSee-${VERSION}.exe"

View File

@ -7,7 +7,7 @@
; The name of the installer
Name "GPXSee"
; Program version
!define VERSION "7.6"
!define VERSION "7.11"
; The file to write
OutFile "GPXSee-${VERSION}_x64.exe"

View File

@ -29,8 +29,8 @@ private:
Ticks::Ticks(double minValue, double maxValue, int maxCount)
{
double range = niceNum(maxValue - minValue, 0);
_d = niceNum(range / maxCount, 1);
double range = niceNum(maxValue - minValue, false);
_d = niceNum(range / maxCount, true);
_min = ceil(minValue / _d) * _d;
_max = floor(maxValue / _d) * _d;
}

View File

@ -12,6 +12,7 @@ ColorBox::ColorBox(QWidget *parent) : QWidget(parent)
_alpha = true;
setSizePolicy(QSizePolicy::QSizePolicy::Minimum, QSizePolicy::Fixed);
setAttribute(Qt::WA_Hover);
}
QSize ColorBox::sizeHint() const

View File

@ -75,8 +75,7 @@ GraphView::~GraphView()
delete _grid;
delete _message;
for (int i = 0; i < _graphs.count(); i++)
delete _graphs[i];
qDeleteAll(_graphs);
}
void GraphView::createXLabel()
@ -380,9 +379,7 @@ void GraphView::clear()
_slider->clear();
_info->clear();
for (int i = 0; i < _graphs.count(); i++)
delete _graphs[i];
qDeleteAll(_graphs);
_graphs.clear();
_visible.clear();
_palette.reset();

View File

@ -103,7 +103,6 @@ GUI::GUI()
readSettings();
updateGraphTabs();
updateMapView();
updateStatusBarInfo();
}
@ -350,6 +349,11 @@ void GUI::createActions()
_showRouteWaypointsAction->setCheckable(true);
connect(_showRouteWaypointsAction, SIGNAL(triggered(bool)), _mapView,
SLOT(showRouteWaypoints(bool)));
_showTicksAction = new QAction(tr("km/mi markers"), this);
_showTicksAction->setMenuRole(QAction::NoRole);
_showTicksAction->setCheckable(true);
connect(_showTicksAction, SIGNAL(triggered(bool)), _mapView,
SLOT(showTicks(bool)));
// Graph actions
_showGraphsAction = new QAction(QIcon(SHOW_GRAPHS_ICON), tr("Show graphs"),
@ -537,6 +541,7 @@ void GUI::createMenus()
QMenu *displayMenu = dataMenu->addMenu(tr("Display"));
displayMenu->addAction(_showWaypointLabelsAction);
displayMenu->addAction(_showRouteWaypointsAction);
displayMenu->addAction(_showTicksAction);
dataMenu->addSeparator();
dataMenu->addAction(_showTracksAction);
dataMenu->addAction(_showRoutesAction);
@ -725,6 +730,8 @@ void GUI::paths()
+ QDir::cleanPath(ProgramPaths::csvDir(true)) + "</code></td></tr><tr><td>"
+ tr("DEM directory:") + "</td><td><code>"
+ QDir::cleanPath(ProgramPaths::demDir(true)) + "</code></td></tr><tr><td>"
+ tr("Styles directory:") + "</td><td><code>"
+ QDir::cleanPath(ProgramPaths::styleDir(true)) + "</code></td></tr><tr><td>"
+ tr("Tile cache directory:") + "</td><td><code>"
+ QDir::cleanPath(ProgramPaths::tilesDir()) + "</code></td></tr></table>"
);
@ -805,7 +812,7 @@ bool GUI::loadFile(const QString &fileName)
for (int i = 0; i < _tabs.count(); i++)
graphs.append(_tabs.at(i)->loadData(data));
if (updateGraphTabs() | updateMapView())
if (updateGraphTabs())
_splitter->refresh();
paths = _mapView->loadData(data);
@ -828,7 +835,6 @@ bool GUI::loadFile(const QString &fileName)
updateStatusBarInfo();
updateWindowTitle();
updateGraphTabs();
updateMapView();
QString error = tr("Error loading data file:") + "\n\n"
+ fileName + "\n\n" + data.errorString();
@ -879,8 +885,7 @@ void GUI::closePOIFiles()
{
_poiFilesMenu->clear();
for (int i = 0; i < _poiFilesActions.count(); i++)
delete _poiFilesActions[i];
qDeleteAll(_poiFilesActions);
_poiFilesActions.clear();
_poi->clear();
@ -930,6 +935,7 @@ void GUI::openOptions()
SET_VIEW_OPTION(pathAntiAliasing, useAntiAliasing);
SET_VIEW_OPTION(useOpenGL, useOpenGL);
SET_VIEW_OPTION(sliderColor, setMarkerColor);
SET_VIEW_OPTION(projection, setProjection);
SET_TAB_OPTION(palette, setPalette);
SET_TAB_OPTION(graphWidth, setGraphWidth);
@ -974,8 +980,6 @@ void GUI::openOptions()
reloadFile();
_options = options;
updateMapView();
}
void GUI::printFile()
@ -1230,7 +1234,6 @@ void GUI::closeAll()
updateStatusBarInfo();
updateWindowTitle();
updateGraphTabs();
updateMapView();
}
void GUI::showGraphs(bool show)
@ -1473,19 +1476,6 @@ bool GUI::updateGraphTabs()
return (hidden != _graphTabWidget->isHidden());
}
bool GUI::updateMapView()
{
bool hidden = _mapView->isHidden();
if (_options.alwaysShowMap)
_mapView->setHidden(false);
else
_mapView->setHidden(!(_trackCount + _routeCount + _waypointCount
+ _areaCount));
return (hidden != _mapView->isHidden());
}
void GUI::setTimeType(TimeType type)
{
for (int i = 0; i <_tabs.count(); i++)
@ -1736,6 +1726,9 @@ void GUI::writeSettings()
if (_showRouteWaypointsAction->isChecked() != SHOW_ROUTE_WAYPOINTS_DEFAULT)
settings.setValue(SHOW_ROUTE_WAYPOINTS_SETTING,
_showRouteWaypointsAction->isChecked());
if (_showTicksAction->isChecked() != SHOW_TICKS_DEFAULT)
settings.setValue(SHOW_TICKS_SETTING,
_showTicksAction->isChecked());
settings.endGroup();
settings.beginGroup(EXPORT_SETTINGS_GROUP);
@ -1847,8 +1840,8 @@ void GUI::writeSettings()
_options.separateGraphPage);
if (_options.sliderColor != SLIDER_COLOR_DEFAULT)
settings.setValue(SLIDER_COLOR_SETTING, _options.sliderColor);
if (_options.alwaysShowMap != ALWAYS_SHOW_MAP_DEFAULT)
settings.setValue(ALWAYS_SHOW_MAP_SETTING, _options.alwaysShowMap);
if (_options.projection != PROJECTION_DEFAULT)
settings.setValue(PROJECTION_SETTING, _options.projection);
#ifdef ENABLE_HIDPI
if (_options.hidpiMap != HIDPI_MAP_DEFAULT)
settings.setValue(HIDPI_MAP_SETTING, _options.hidpiMap);
@ -1999,6 +1992,10 @@ void GUI::readSettings()
_mapView->showRouteWaypoints(false);
else
_showRouteWaypointsAction->setChecked(true);
if (settings.value(SHOW_TICKS_SETTING, SHOW_TICKS_DEFAULT).toBool()) {
_mapView->showTicks(true);
_showTicksAction->setChecked(true);
}
settings.endGroup();
settings.beginGroup(EXPORT_SETTINGS_GROUP);
@ -2110,8 +2107,8 @@ void GUI::readSettings()
SEPARATE_GRAPH_PAGE_DEFAULT).toBool();
_options.sliderColor = settings.value(SLIDER_COLOR_SETTING,
SLIDER_COLOR_DEFAULT).value<QColor>();
_options.alwaysShowMap = settings.value(ALWAYS_SHOW_MAP_SETTING,
ALWAYS_SHOW_MAP_DEFAULT).toBool();
_options.projection = settings.value(PROJECTION_SETTING, PROJECTION_DEFAULT)
.toInt();
#ifdef ENABLE_HIDPI
_options.hidpiMap = settings.value(HIDPI_MAP_SETTING, HIDPI_MAP_SETTING)
.toBool();
@ -2139,6 +2136,7 @@ void GUI::readSettings()
_mapView->setDevicePixelRatio(devicePixelRatioF(),
_options.hidpiMap ? devicePixelRatioF() : 1.0);
#endif // ENABLE_HIDPI
_mapView->setProjection(_options.projection);
for (int i = 0; i < _tabs.count(); i++) {
_tabs.at(i)->setPalette(_options.palette);
@ -2217,6 +2215,8 @@ void GUI::show()
connect(w, SIGNAL(screenChanged(QScreen*)), this,
SLOT(screenChanged(QScreen*)));
#endif // ENABLE_HIDPI
_mapView->fitContentToSize();
}
void GUI::screenChanged(QScreen *screen)

Some files were not shown because too many files have changed in this diff Show More