6#ifndef MARBLE_QTMARBLECONFIGDIALOG_H
7#define MARBLE_QTMARBLECONFIGDIALOG_H
11#include "MarbleGlobal.h"
12#include "MarbleLocale.h"
13#include "marble_export.h"
19class CloudSyncManager;
21class QtMarbleConfigDialogPrivate;
23class MARBLE_EXPORT QtMarbleConfigDialog :
public QDialog
28 explicit QtMarbleConfigDialog(MarbleWidget *marbleWidget, CloudSyncManager *syncManager =
nullptr,
QWidget *parent =
nullptr);
29 ~QtMarbleConfigDialog()
override;
33 MarbleLocale::MeasurementSystem measurementSystem()
const;
38 QFont mapFont()
const;
41 int onStartup()
const;
42 bool animateTargetVoyage()
const;
43 QString externalMapEditor()
const;
44 bool inertialEarthRotation()
const;
45 bool mouseViewRotation()
const;
48 int volatileTileCacheLimit()
const;
49 int persistentTileCacheLimit()
const;
51 int proxyPort()
const;
55 bool proxyType()
const;
56 bool proxyAuth()
const;
62 bool systemTime()
const;
67 bool lastSessionTime()
const;
72 bool systemTimezone()
const;
82 bool customTimezone()
const;
87 int chosenTimezone()
const;
89 void initializeCustomTimezone();
92 bool syncEnabled()
const;
94 bool syncBookmarks()
const;
95 bool syncRoutes()
const;
97 QString owncloudUsername()
const;
98 QString owncloudPassword()
const;
105 void settingsChanged();
110 void clearVolatileCacheClicked();
115 void clearPersistentCacheClicked();
120 void syncNowClicked();
126 void disableSyncNow();
127 void enableSyncNow();
132 void updateLastSync();
147 void writeSettings();
155 void updateCloudSyncCredentials();
158 Q_DISABLE_COPY(QtMarbleConfigDialog)
160 QtMarbleConfigDialogPrivate *
const d;
Q_SCRIPTABLE CaptureState status()
Binds a QML item to a specific geodetic location in screen coordinates.
AngleUnit
This enum is used to choose the unit chosen to measure angles.
MapQuality
This enum is used to choose the map quality shown in the view.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:59:52 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.