2015-10-05 01:43:48 +02:00
|
|
|
#ifndef GUI_H
|
|
|
|
#define GUI_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
2016-03-05 18:01:13 +01:00
|
|
|
#include <QString>
|
|
|
|
#include <QList>
|
2016-05-21 16:10:24 +02:00
|
|
|
#include <QDate>
|
2016-05-25 23:27:07 +02:00
|
|
|
#include <QPrinter>
|
2021-03-20 09:59:03 +01:00
|
|
|
#include "common/treenode.h"
|
2021-08-30 20:31:33 +02:00
|
|
|
#include "common/rectc.h"
|
2017-11-26 18:54:03 +01:00
|
|
|
#include "data/graph.h"
|
2016-09-21 23:48:11 +02:00
|
|
|
#include "units.h"
|
2017-02-12 19:57:55 +01:00
|
|
|
#include "timetype.h"
|
2018-02-11 20:39:39 +01:00
|
|
|
#include "format.h"
|
2020-09-27 00:34:38 +02:00
|
|
|
#include "pdfexportdialog.h"
|
|
|
|
#include "pngexportdialog.h"
|
2016-12-06 01:48:26 +01:00
|
|
|
#include "optionsdialog.h"
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2016-03-05 18:01:13 +01:00
|
|
|
class QMenu;
|
|
|
|
class QToolBar;
|
|
|
|
class QTabWidget;
|
|
|
|
class QActionGroup;
|
|
|
|
class QAction;
|
|
|
|
class QLabel;
|
2018-05-04 19:36:37 +02:00
|
|
|
class QSplitter;
|
2016-05-15 22:38:15 +02:00
|
|
|
class QPrinter;
|
2021-12-04 15:05:30 +01:00
|
|
|
class QGeoPositionInfoSource;
|
2015-10-20 22:18:41 +02:00
|
|
|
class FileBrowser;
|
2016-06-24 00:55:44 +02:00
|
|
|
class GraphTab;
|
2017-12-01 00:22:16 +01:00
|
|
|
class MapView;
|
2015-11-23 02:37:08 +01:00
|
|
|
class Map;
|
2018-06-04 23:40:42 +02:00
|
|
|
class POI;
|
2018-08-18 21:06:36 +02:00
|
|
|
class QScreen;
|
2020-03-17 21:06:51 +01:00
|
|
|
class MapAction;
|
2021-03-21 20:23:20 +01:00
|
|
|
class POIAction;
|
2020-12-06 19:17:09 +01:00
|
|
|
class Data;
|
2021-08-30 20:31:33 +02:00
|
|
|
class DEMLoader;
|
2022-05-28 14:05:14 +02:00
|
|
|
class NavigationWidget;
|
2015-10-05 01:43:48 +02:00
|
|
|
|
|
|
|
class GUI : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2017-03-18 01:30:31 +01:00
|
|
|
GUI();
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2023-08-12 06:55:50 +02:00
|
|
|
bool openFile(const QString &fileName, bool tryUnknown, int &showError);
|
2023-08-30 20:43:29 +02:00
|
|
|
bool loadMap(const QString &fileName, MapAction *&action, int &showError);
|
2018-08-18 21:06:36 +02:00
|
|
|
void show();
|
2022-05-28 14:05:14 +02:00
|
|
|
void writeSettings();
|
2015-10-05 01:43:48 +02:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void about();
|
2022-05-28 14:05:14 +02:00
|
|
|
#ifndef Q_OS_ANDROID
|
2015-10-21 01:09:17 +02:00
|
|
|
void keys();
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2018-01-31 08:14:25 +01:00
|
|
|
void paths();
|
2016-05-15 22:38:15 +02:00
|
|
|
void printFile();
|
2020-09-27 00:34:38 +02:00
|
|
|
void exportPDFFile();
|
|
|
|
void exportPNGFile();
|
2015-10-05 01:43:48 +02:00
|
|
|
void openFile();
|
2022-05-28 14:05:14 +02:00
|
|
|
void openDir();
|
2016-03-23 20:56:39 +01:00
|
|
|
void closeAll();
|
2020-05-20 21:00:36 +02:00
|
|
|
void reloadFiles();
|
2018-07-21 16:13:18 +02:00
|
|
|
void statistics();
|
2015-10-05 01:43:48 +02:00
|
|
|
void openPOIFile();
|
2016-10-17 23:14:07 +02:00
|
|
|
void showGraphs(bool show);
|
|
|
|
void showGraphGrids(bool show);
|
2017-09-29 11:43:09 +02:00
|
|
|
void showGraphSliderInfo(bool show);
|
2021-02-12 22:41:38 +01:00
|
|
|
void showPathMarkerInfo(QAction *action);
|
2022-07-08 02:09:03 +02:00
|
|
|
#ifdef Q_OS_ANDROID
|
|
|
|
void showGraphTabs(bool show);
|
|
|
|
#else // Q_OS_ANDROID
|
2016-10-17 23:14:07 +02:00
|
|
|
void showToolbars(bool show);
|
|
|
|
void showFullscreen(bool show);
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2016-08-10 20:36:09 +02:00
|
|
|
void showTracks(bool show);
|
|
|
|
void showRoutes(bool show);
|
2021-09-01 13:08:34 +02:00
|
|
|
void showAreas(bool show);
|
|
|
|
void showWaypoints(bool show);
|
2017-04-21 21:15:58 +02:00
|
|
|
void loadMap();
|
2020-12-02 23:58:11 +01:00
|
|
|
void loadMapDir();
|
2016-04-08 22:33:19 +02:00
|
|
|
void nextMap();
|
|
|
|
void prevMap();
|
2016-12-06 01:48:26 +01:00
|
|
|
void openOptions();
|
2020-12-02 23:58:11 +01:00
|
|
|
void clearMapCache();
|
2021-08-30 20:31:33 +02:00
|
|
|
void downloadDEM();
|
2021-09-23 22:44:21 +02:00
|
|
|
void showDEMTiles();
|
2015-10-20 22:18:41 +02:00
|
|
|
|
2021-03-21 20:23:20 +01:00
|
|
|
void mapChanged(QAction *action);
|
2015-10-05 01:43:48 +02:00
|
|
|
void graphChanged(int);
|
2021-03-21 20:23:20 +01:00
|
|
|
void poiFileChecked(QAction *action);
|
2021-03-21 22:40:39 +01:00
|
|
|
void selectAllPOIs();
|
|
|
|
void unselectAllPOIs();
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2015-12-18 22:21:11 +01:00
|
|
|
void next();
|
|
|
|
void prev();
|
|
|
|
void last();
|
|
|
|
void first();
|
2021-05-27 22:08:40 +02:00
|
|
|
void updateNavigationActions();
|
2015-12-18 22:21:11 +01:00
|
|
|
|
2017-02-12 19:57:55 +01:00
|
|
|
void setTotalTime() {setTimeType(Total);}
|
|
|
|
void setMovingTime() {setTimeType(Moving);}
|
2016-09-21 23:48:11 +02:00
|
|
|
void setMetricUnits() {setUnits(Metric);}
|
|
|
|
void setImperialUnits() {setUnits(Imperial);}
|
2018-02-11 23:51:57 +01:00
|
|
|
void setNauticalUnits() {setUnits(Nautical);}
|
2016-09-21 23:48:11 +02:00
|
|
|
void setDistanceGraph() {setGraphType(Distance);}
|
|
|
|
void setTimeGraph() {setGraphType(Time);}
|
2018-02-11 20:39:39 +01:00
|
|
|
void setDecimalDegrees() {setCoordinatesFormat(DecimalDegrees);}
|
|
|
|
void setDegreesMinutes() {setCoordinatesFormat(DegreesMinutes);}
|
|
|
|
void setDMS() {setCoordinatesFormat(DMS);}
|
2015-12-19 20:23:07 +01:00
|
|
|
|
2018-08-18 21:06:36 +02:00
|
|
|
void screenChanged(QScreen *screen);
|
|
|
|
void logicalDotsPerInchChanged(qreal dpi);
|
2016-03-30 20:50:51 +02:00
|
|
|
|
2020-03-17 21:06:51 +01:00
|
|
|
void mapLoaded();
|
2020-12-10 01:09:23 +01:00
|
|
|
void mapLoadedDir();
|
2020-03-17 21:06:51 +01:00
|
|
|
void mapInitialized();
|
|
|
|
|
2021-08-30 20:31:33 +02:00
|
|
|
void demLoaded();
|
|
|
|
|
2015-10-05 01:43:48 +02:00
|
|
|
private:
|
2020-05-20 21:00:36 +02:00
|
|
|
typedef QPair<QDateTime, QDateTime> DateTimeRange;
|
2016-05-13 18:48:42 +02:00
|
|
|
|
2016-03-23 20:56:39 +01:00
|
|
|
void closeFiles();
|
2016-05-15 22:38:15 +02:00
|
|
|
void plot(QPrinter *printer);
|
2020-09-27 00:34:38 +02:00
|
|
|
void plotMainPage(QPainter *painter, const QRectF &rect, qreal ratio,
|
|
|
|
bool expand = false);
|
|
|
|
void plotGraphsPage(QPainter *painter, const QRectF &rect, qreal ratio);
|
|
|
|
qreal graphPlotHeight(const QRectF &rect, qreal ratio);
|
2015-11-23 02:37:08 +01:00
|
|
|
|
2021-03-21 20:23:20 +01:00
|
|
|
TreeNode<POIAction*> createPOIActionsNode(const TreeNode<QString> &node);
|
2021-03-20 09:59:03 +01:00
|
|
|
TreeNode<MapAction*> createMapActionsNode(const TreeNode<Map*> &node);
|
2021-09-22 20:29:48 +02:00
|
|
|
void createMapNodeMenu(const TreeNode<MapAction*> &node, QMenu *menu,
|
|
|
|
QAction *action = 0);
|
|
|
|
void createPOINodeMenu(const TreeNode<POIAction*> &node, QMenu *menu,
|
|
|
|
QAction *action = 0);
|
|
|
|
void createActions();
|
|
|
|
void createMenus();
|
2022-05-28 14:05:14 +02:00
|
|
|
#ifdef Q_OS_ANDROID
|
|
|
|
void createNavigation();
|
|
|
|
#else // Q_OS_ANDROID
|
2015-10-05 01:43:48 +02:00
|
|
|
void createToolBars();
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2015-10-05 01:43:48 +02:00
|
|
|
void createStatusBar();
|
2017-12-01 00:22:16 +01:00
|
|
|
void createMapView();
|
2016-09-27 01:27:38 +02:00
|
|
|
void createGraphTabs();
|
2016-10-23 11:09:20 +02:00
|
|
|
void createBrowser();
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2023-10-13 02:21:34 +02:00
|
|
|
#ifndef Q_OS_ANDROID
|
|
|
|
void openDir(const QString &path, int &showError);
|
|
|
|
#endif // Q_OS_ANDROID
|
2016-03-22 19:47:11 +01:00
|
|
|
bool openPOIFile(const QString &fileName);
|
2023-08-12 06:55:50 +02:00
|
|
|
bool loadFile(const QString &fileName, bool tryUnknown, int &showError);
|
2020-12-06 19:17:09 +01:00
|
|
|
void loadData(const Data &data);
|
2021-03-20 09:59:03 +01:00
|
|
|
bool loadMapNode(const TreeNode<Map*> &node, MapAction *&action,
|
2023-08-30 20:43:29 +02:00
|
|
|
const QList<QAction*> &existingActions, int &showError);
|
2021-03-21 20:23:20 +01:00
|
|
|
void loadMapDirNode(const TreeNode<Map*> &node, QList<MapAction*> &actions,
|
2023-08-30 20:43:29 +02:00
|
|
|
QMenu *menu, const QList<QAction*> &existingActions, int &showError);
|
2015-10-20 22:18:41 +02:00
|
|
|
void updateStatusBarInfo();
|
2016-04-19 08:51:11 +02:00
|
|
|
void updateWindowTitle();
|
2018-05-04 19:36:37 +02:00
|
|
|
bool updateGraphTabs();
|
2021-09-01 13:08:34 +02:00
|
|
|
void updateDEMDownloadAction();
|
2015-10-17 12:08:30 +02:00
|
|
|
|
2017-02-12 19:57:55 +01:00
|
|
|
TimeType timeType() const;
|
2017-01-31 09:37:01 +01:00
|
|
|
Units units() const;
|
2017-02-12 19:57:55 +01:00
|
|
|
void setTimeType(TimeType type);
|
2016-09-21 23:48:11 +02:00
|
|
|
void setUnits(Units units);
|
2018-02-11 20:39:39 +01:00
|
|
|
void setCoordinatesFormat(CoordinatesFormat format);
|
2016-09-21 23:48:11 +02:00
|
|
|
void setGraphType(GraphType type);
|
2016-04-26 09:39:16 +02:00
|
|
|
|
2016-11-01 08:42:16 +01:00
|
|
|
qreal distance() const;
|
|
|
|
qreal time() const;
|
2017-01-31 09:37:01 +01:00
|
|
|
qreal movingTime() const;
|
2020-03-17 21:06:51 +01:00
|
|
|
QAction *mapAction(const QString &name);
|
2022-01-18 21:30:50 +01:00
|
|
|
QGeoPositionInfoSource *positionSource(const Options &options);
|
2021-09-22 20:29:48 +02:00
|
|
|
void readSettings(QString &activeMap, QStringList &disabledPOIs);
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2021-09-22 20:29:48 +02:00
|
|
|
void loadInitialMaps(const QString &selected);
|
|
|
|
void loadInitialPOIs(const QStringList &disabled);
|
|
|
|
|
2023-02-04 23:59:47 +01:00
|
|
|
void loadOptions();
|
|
|
|
void updateOptions(const Options &options);
|
|
|
|
|
2022-05-28 14:05:14 +02:00
|
|
|
#ifndef Q_OS_ANDROID
|
2016-09-21 23:48:11 +02:00
|
|
|
void keyPressEvent(QKeyEvent *event);
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2016-09-21 23:48:11 +02:00
|
|
|
void closeEvent(QCloseEvent *event);
|
2016-10-04 10:16:46 +02:00
|
|
|
void dragEnterEvent(QDragEnterEvent *event);
|
|
|
|
void dropEvent(QDropEvent *event);
|
2016-09-21 23:48:11 +02:00
|
|
|
|
2022-05-28 14:05:14 +02:00
|
|
|
#ifdef Q_OS_ANDROID
|
|
|
|
NavigationWidget *_navigation;
|
|
|
|
#else // Q_OS_ANDROID
|
2015-10-05 01:43:48 +02:00
|
|
|
QToolBar *_fileToolBar;
|
2015-11-23 02:37:08 +01:00
|
|
|
QToolBar *_showToolBar;
|
2015-12-18 22:21:11 +01:00
|
|
|
QToolBar *_navigationToolBar;
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2021-03-21 20:23:20 +01:00
|
|
|
QMenu *_poiMenu;
|
2017-04-21 21:15:58 +02:00
|
|
|
QMenu *_mapMenu;
|
2016-08-09 01:16:19 +02:00
|
|
|
|
2015-10-05 01:43:48 +02:00
|
|
|
QActionGroup *_fileActionGroup;
|
2015-12-18 22:21:11 +01:00
|
|
|
QActionGroup *_navigationActionGroup;
|
2017-04-21 21:15:58 +02:00
|
|
|
QActionGroup *_mapsActionGroup;
|
2021-03-21 20:23:20 +01:00
|
|
|
QActionGroup *_poisActionGroup;
|
2022-05-28 14:05:14 +02:00
|
|
|
#if !defined(Q_OS_MAC) && !defined(Q_OS_ANDROID)
|
2015-10-05 01:43:48 +02:00
|
|
|
QAction *_exitAction;
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_MAC + Q_OS_ANDROID
|
2018-01-31 08:14:25 +01:00
|
|
|
QAction *_pathsAction;
|
2015-10-05 01:43:48 +02:00
|
|
|
QAction *_aboutAction;
|
2016-05-15 22:38:15 +02:00
|
|
|
QAction *_printFileAction;
|
2020-09-27 00:34:38 +02:00
|
|
|
QAction *_exportPDFFileAction;
|
|
|
|
QAction *_exportPNGFileAction;
|
2015-10-05 01:43:48 +02:00
|
|
|
QAction *_openFileAction;
|
2022-05-28 14:05:14 +02:00
|
|
|
QAction *_openDirAction;
|
2015-10-05 01:43:48 +02:00
|
|
|
QAction *_closeFileAction;
|
2015-10-20 22:18:41 +02:00
|
|
|
QAction *_reloadFileAction;
|
2018-07-21 16:13:18 +02:00
|
|
|
QAction *_statisticsAction;
|
2015-10-05 01:43:48 +02:00
|
|
|
QAction *_openPOIAction;
|
2021-03-21 22:40:39 +01:00
|
|
|
QAction *_selectAllPOIAction;
|
|
|
|
QAction *_unselectAllPOIAction;
|
2015-10-05 01:43:48 +02:00
|
|
|
QAction *_showPOIAction;
|
2016-08-02 20:46:22 +02:00
|
|
|
QAction *_overlapPOIAction;
|
2016-08-09 01:16:19 +02:00
|
|
|
QAction *_showPOILabelsAction;
|
2021-10-10 08:38:38 +02:00
|
|
|
QAction *_showPOIIconsAction;
|
2015-11-23 02:37:08 +01:00
|
|
|
QAction *_showMapAction;
|
2021-12-04 15:05:30 +01:00
|
|
|
QAction *_showPositionAction;
|
|
|
|
QAction *_followPositionAction;
|
|
|
|
QAction *_showPositionCoordinatesAction;
|
2023-02-04 23:59:47 +01:00
|
|
|
QAction *_showMotionInfoAction;
|
2017-04-21 21:15:58 +02:00
|
|
|
QAction *_loadMapAction;
|
2020-12-02 23:58:11 +01:00
|
|
|
QAction *_loadMapDirAction;
|
2016-04-01 19:25:34 +02:00
|
|
|
QAction *_clearMapCacheAction;
|
2015-11-24 00:24:26 +01:00
|
|
|
QAction *_showGraphsAction;
|
2016-10-17 23:14:07 +02:00
|
|
|
QAction *_showGraphGridAction;
|
2017-09-29 11:43:09 +02:00
|
|
|
QAction *_showGraphSliderInfoAction;
|
2016-09-19 00:56:10 +02:00
|
|
|
QAction *_distanceGraphAction;
|
|
|
|
QAction *_timeGraphAction;
|
2022-07-08 02:09:03 +02:00
|
|
|
#ifdef Q_OS_ANDROID
|
|
|
|
QAction *_showGraphTabsAction;
|
|
|
|
#else // Q_OS_ANDROID
|
2022-05-28 14:05:14 +02:00
|
|
|
QAction *_keysAction;
|
|
|
|
QAction *_fullscreenAction;
|
2015-11-24 00:24:26 +01:00
|
|
|
QAction *_showToolbarsAction;
|
2015-12-18 22:21:11 +01:00
|
|
|
QAction *_nextAction;
|
|
|
|
QAction *_prevAction;
|
|
|
|
QAction *_lastAction;
|
|
|
|
QAction *_firstAction;
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2015-12-19 20:23:07 +01:00
|
|
|
QAction *_metricUnitsAction;
|
|
|
|
QAction *_imperialUnitsAction;
|
2018-02-11 23:51:57 +01:00
|
|
|
QAction *_nauticalUnitsAction;
|
2018-02-11 20:39:39 +01:00
|
|
|
QAction *_decimalDegreesAction;
|
|
|
|
QAction *_degreesMinutesAction;
|
2020-01-23 23:19:32 +01:00
|
|
|
QAction *_dmsAction;
|
2017-02-12 19:57:55 +01:00
|
|
|
QAction *_totalTimeAction;
|
|
|
|
QAction *_movingTimeAction;
|
2016-04-08 22:33:19 +02:00
|
|
|
QAction *_nextMapAction;
|
|
|
|
QAction *_prevMapAction;
|
2016-08-09 01:16:19 +02:00
|
|
|
QAction *_showTracksAction;
|
|
|
|
QAction *_showRoutesAction;
|
|
|
|
QAction *_showWaypointsAction;
|
|
|
|
QAction *_showWaypointLabelsAction;
|
2021-10-10 08:38:38 +02:00
|
|
|
QAction *_showWaypointIconsAction;
|
2019-01-31 01:46:53 +01:00
|
|
|
QAction *_showAreasAction;
|
2016-08-09 10:47:49 +02:00
|
|
|
QAction *_showRouteWaypointsAction;
|
2021-02-12 22:41:38 +01:00
|
|
|
QAction *_hideMarkersAction;
|
2019-02-16 12:39:23 +01:00
|
|
|
QAction *_showMarkersAction;
|
2021-02-12 22:41:38 +01:00
|
|
|
QAction *_showMarkerDateAction;
|
|
|
|
QAction *_showMarkerCoordinatesAction;
|
2019-05-23 08:44:55 +02:00
|
|
|
QAction *_showTicksAction;
|
2022-09-25 02:15:24 +02:00
|
|
|
QAction *_useStylesAction;
|
2019-02-17 20:20:20 +01:00
|
|
|
QAction *_showCoordinatesAction;
|
2016-12-06 01:48:26 +01:00
|
|
|
QAction *_openOptionsAction;
|
2021-08-30 20:31:33 +02:00
|
|
|
QAction *_downloadDEMAction;
|
2021-09-23 22:44:21 +02:00
|
|
|
QAction *_showDEMTilesAction;
|
2017-04-21 21:15:58 +02:00
|
|
|
QAction *_mapsEnd;
|
2021-03-21 20:23:20 +01:00
|
|
|
QAction *_poisEnd;
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2015-10-14 02:54:36 +02:00
|
|
|
QLabel *_fileNameLabel;
|
|
|
|
QLabel *_distanceLabel;
|
2017-02-12 19:57:55 +01:00
|
|
|
QLabel *_timeLabel;
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2018-05-04 19:36:37 +02:00
|
|
|
QSplitter *_splitter;
|
2017-12-01 00:22:16 +01:00
|
|
|
MapView *_mapView;
|
2016-09-27 01:27:38 +02:00
|
|
|
QTabWidget *_graphTabWidget;
|
2016-06-24 00:55:44 +02:00
|
|
|
QList<GraphTab*> _tabs;
|
2021-03-06 12:19:18 +01:00
|
|
|
GraphTab *_lastTab;
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2016-10-09 23:46:30 +02:00
|
|
|
POI *_poi;
|
2017-12-01 00:22:16 +01:00
|
|
|
Map *_map;
|
2021-12-04 15:05:30 +01:00
|
|
|
QGeoPositionInfoSource *_positionSource;
|
2021-08-30 20:31:33 +02:00
|
|
|
DEMLoader *_dem;
|
2015-10-05 01:43:48 +02:00
|
|
|
|
2015-10-20 22:18:41 +02:00
|
|
|
FileBrowser *_browser;
|
|
|
|
QList<QString> _files;
|
2015-10-14 02:54:36 +02:00
|
|
|
|
2019-01-31 01:46:53 +01:00
|
|
|
int _trackCount, _routeCount, _areaCount, _waypointCount;
|
|
|
|
qreal _trackDistance, _routeDistance;
|
|
|
|
qreal _time, _movingTime;
|
2020-05-20 21:00:36 +02:00
|
|
|
DateTimeRange _dateRange;
|
2016-12-16 02:30:58 +01:00
|
|
|
QString _pathName;
|
2016-03-21 22:37:55 +01:00
|
|
|
|
2022-05-28 14:05:14 +02:00
|
|
|
#ifndef Q_OS_ANDROID
|
2019-02-18 22:33:18 +01:00
|
|
|
QList<QByteArray> _windowStates;
|
2021-02-19 19:31:54 +01:00
|
|
|
QList<QByteArray> _windowGeometries;
|
2016-04-05 09:10:19 +02:00
|
|
|
int _frameStyle;
|
2022-05-28 14:05:14 +02:00
|
|
|
#endif // Q_OS_ANDROID
|
2016-05-25 23:27:07 +02:00
|
|
|
|
2020-09-27 00:34:38 +02:00
|
|
|
PDFExport _pdfExport;
|
|
|
|
PNGExport _pngExport;
|
2016-12-06 01:48:26 +01:00
|
|
|
Options _options;
|
2018-03-28 02:01:27 +02:00
|
|
|
|
|
|
|
QString _dataDir, _mapDir, _poiDir;
|
2020-09-27 00:34:38 +02:00
|
|
|
|
|
|
|
Units _units;
|
2021-08-30 20:31:33 +02:00
|
|
|
|
2021-09-01 13:08:34 +02:00
|
|
|
QList<RectC> _demRects;
|
2015-10-05 01:43:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GUI_H
|