1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-09 03:23:03 +02:00

Compare commits

..

No commits in common. "505f01a990306dc0f395dd5dea450edfa14c299b" and "80ec7f624ecca817498f3c7cdf5b191ee4dfcbd0" have entirely different histories.

4 changed files with 7 additions and 10 deletions

View File

@ -64,7 +64,7 @@ GPXSee is licensed under GPL-3.0 (only). However, some 3rd party parts are using
different, GPL compatible, licenses:
* [Oxygen icons](icons/GUI) - LGPLv3
* [Mapbox Maki icons](icons/map/POI) - CC0
* [Mapbox Maki icons](icons/map/IMG/POI) - CC0
* [Map Icons Collection](icons/symbols) - CC BY SA 3.0
* [RTree implementation](src/common/rtree.h) - Public domain
* [Albers](src/map/proj/albersequal.cpp), [Geocentric](src/map/geocentric.cpp),

View File

@ -1,4 +1,4 @@
The POI icons are Mapbox Maki icons (https://labs.mapbox.com/maki-icons/)
The IMG style icons are Mapbox Maki icons (https://labs.mapbox.com/maki-icons/)
licensed under CC0.
-----

View File

@ -2,16 +2,12 @@
#define SETTINGS_H
#include <QtGlobal>
#include "common/config.h"
#define IMPERIAL_UNITS() \
(QLocale::system().measurementSystem() == QLocale::ImperialSystem)
#define POSITION_PLUGIN() \
(QGeoPositionInfoSource::availableSources().isEmpty() \
? "" : QGeoPositionInfoSource::availableSources().first())
#define CURRENT_PATH(filename) \
QString("%1/" filename).arg(QDir::currentPath())
#define WINDOW_SETTINGS_GROUP "Window"
#define WINDOW_GEOMETRY_SETTING "geometry"
@ -109,7 +105,8 @@
#define PDF_MARGIN_BOTTOM_SETTING "marginBottom"
#define PDF_MARGIN_BOTTOM_DEFAULT 5 /* mm */
#define PDF_FILENAME_SETTING "fileName"
#define PDF_FILENAME_DEFAULT CURRENT_PATH("export.pdf")
#define PDF_FILENAME_DEFAULT QString("%1/export.pdf"). \
arg(QDir::currentPath())
#define RESOLUTION_SETTING "resolution"
#define RESOLUTION_DEFAULT 600
@ -129,7 +126,8 @@
#define PNG_ANTIALIASING_SETTING "antialiasing"
#define PNG_ANTIALIASING_DEFAULT true
#define PNG_FILENAME_SETTING "fileName"
#define PNG_FILENAME_DEFAULT CURRENT_PATH("export.png")
#define PNG_FILENAME_DEFAULT QString("%1/export.png"). \
arg(QDir::currentPath())
#define OPTIONS_SETTINGS_GROUP "Options"
#define PALETTE_COLOR_SETTING "paletteColor"
@ -206,7 +204,7 @@
#define POI_RADIUS_SETTING "poiRadius"
#define POI_RADIUS_DEFAULT (int)(IMPERIAL_UNITS() ? MIINM : KMINM)
#define DEM_URL_SETTING "demURL"
#define DEM_URL_DEFAULT DEM_TILES_URL
#define DEM_URL_DEFAULT "http://dem.gpxsee.org/$lat/$lat$lon.hgt.zip"
#define DEM_AUTH_SETTING "demAuthentication"
#define DEM_AUTH_DEFAULT false
#define DEM_USERNAME_SETTING "demUsername"

View File

@ -3,6 +3,5 @@
#define APP_NAME "GPXSee"
#define APP_HOMEPAGE "http://www.gpxsee.org"
#define DEM_TILES_URL "http://dem.gpxsee.org/$lat/$lat$lon.hgt.zip"
#endif /* CONFIG_H */