• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
QtMarbleConfigDialog.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2009 Bastian Holst <bastianholst@gmx.de>
9 //
10 
11 #ifndef MARBLE_QTMARBLECONFIGDIALOG_H
12 #define MARBLE_QTMARBLECONFIGDIALOG_H
13 
14 #include <QDialog>
15 #include <QLocale>
16 
17 #include "marble_export.h"
18 #include "MarbleGlobal.h"
19 
20 namespace Marble
21 {
22 
23 class MarbleWidget;
24 
25 class QtMarbleConfigDialogPrivate;
26 
27 class MARBLE_EXPORT QtMarbleConfigDialog : public QDialog
28 {
29  Q_OBJECT
30 
31  public:
32  explicit QtMarbleConfigDialog( MarbleWidget *marbleWidget, QWidget *parent = 0 );
33  ~QtMarbleConfigDialog();
34 
35  // View Settings
36 
37  QLocale::MeasurementSystem measurementSystem() const;
38  Marble::AngleUnit angleUnit() const;
39  Marble::MapQuality stillQuality() const;
40  Marble::MapQuality animationQuality() const;
41  QFont mapFont() const;
42 
43  // View
44  Marble::GraphicsSystem graphicsSystem() const;
45 
46 
47  // Navigation Settings
48  int onStartup() const;
49  bool animateTargetVoyage() const;
50  QString externalMapEditor() const;
51  bool inertialEarthRotation() const;
52 
53  // Cache Settings
54  int volatileTileCacheLimit() const;
55  int persistentTileCacheLimit() const;
56  QString proxyUrl() const;
57  int proxyPort() const;
58 
59  QString proxyUser() const;
60  QString proxyPass() const;
61  bool proxyType() const;
62  bool proxyAuth() const;
63 
64  // Time Settings
68  bool systemTime() const;
69 
73  bool lastSessionTime() const;
74 
78  bool systemTimezone() const;
79 
83  bool UTC() const;
84 
88  bool customTimezone() const;
89 
93  int chosenTimezone() const;
94 
95  void initializeCustomTimezone();
96 
97  // CloudSync settings
98  void setShowCloudSync( bool show );
99  bool syncEnabled() const;
100  QString syncBackend() const;
101  bool syncBookmarks() const;
102  bool syncRoutes() const;
103  QString owncloudServer() const;
104  QString owncloudUsername() const;
105  QString owncloudPassword() const;
106 
107  Q_SIGNALS:
112  void settingsChanged();
113 
117  void clearVolatileCacheClicked();
118 
122  void clearPersistentCacheClicked();
123 
127  void syncNowClicked();
128 
129  public Q_SLOTS:
133  void readSettings();
134 
138  void writeSettings();
139 
140  private Q_SLOTS:
144  void syncSettings();
145 
146  private:
147  Q_DISABLE_COPY( QtMarbleConfigDialog )
148 
149  QtMarbleConfigDialogPrivate * const d;
150 };
151 
152 } // Marble namespace
153 
154 #endif
QDialog
QWidget
Marble::QtMarbleConfigDialog
Definition: QtMarbleConfigDialog.h:27
Marble::MapQuality
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:80
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
MarbleGlobal.h
marble_export.h
Marble::AngleUnit
AngleUnit
This enum is used to choose the unit chosen to measure angles.
Definition: MarbleGlobal.h:63
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Marble::GraphicsSystem
GraphicsSystem
This enum is used to choose which graphics system Qt is using.
Definition: MarbleGlobal.h:91
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal