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

Added support for vector maps projection setting

Removed obsolete "Always show the map" setting
This commit is contained in:
2019-05-14 23:01:24 +02:00
parent f0d71d667b
commit 37c971a720
15 changed files with 155 additions and 55 deletions

View File

@ -15,6 +15,7 @@ class QComboBox;
class QCheckBox;
class QRadioButton;
class PercentSlider;
class LimitedComboBox;
struct Options {
// Appearance
@ -37,7 +38,7 @@ struct Options {
int mapOpacity;
QColor backgroundColor;
// Map
bool alwaysShowMap;
int projection;
#ifdef ENABLE_HIDPI
bool hidpiMap;
#endif // ENABLE_HIDPI
@ -79,11 +80,14 @@ class OptionsDialog : public QDialog
{
Q_OBJECT
public slots:
void accept();
public:
OptionsDialog(Options *options, QWidget *parent = 0);
public slots:
void accept();
//private slots:
// void projectionChanged(int index);
private:
QWidget *createMapPage();
@ -116,7 +120,7 @@ private:
ColorBox *_sliderColor;
QCheckBox *_graphAA;
// Map
QCheckBox *_alwaysShowMap;
LimitedComboBox *_projection;
#ifdef ENABLE_HIDPI
QRadioButton *_hidpi;
QRadioButton *_lodpi;