Marble
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;
50 QString proxyUrl()
const;
51 int proxyPort()
const;
53 QString proxyUser()
const;
54 QString proxyPass()
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;
93 QString syncBackend()
const;
94 bool syncBookmarks()
const;
95 bool syncRoutes()
const;
96 QString owncloudServer()
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();
142 void updateCloudSyncStatus(
const QString &
status);
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.