marble
QtMarbleConfigDialog.cpp
Go to the documentation of this file.
97 QtMarbleConfigDialog::QtMarbleConfigDialog(MarbleWidget *marbleWidget, CloudSyncManager *cloudSyncManager,
156 connect( d->ui_cacheSettings.button_clearVolatileCache, SIGNAL(clicked()), SIGNAL(clearVolatileCacheClicked()) );
157 connect( d->ui_cacheSettings.button_clearPersistentCache, SIGNAL(clicked()), SIGNAL(clearPersistentCacheClicked()) );
188 connect( d->ui_cloudSyncSettings.testLoginButton, SIGNAL(clicked()), this, SLOT(updateCloudSyncCredentials()) );
363 d->m_marbleWidget->model()->setClockTimezone( QDateTime::currentDateTime().toUTC().secsTo( localTime ) );
433 d->m_settings.setValue( "animationQuality", d->ui_viewSettings.kcfg_animationQuality->currentIndex() );
440 d->m_settings.setValue( "inertialEarthRotation", d->ui_navigationSettings.kcfg_inertialEarthRotation->isChecked() );
441 d->m_settings.setValue( "animateTargetVoyage", d->ui_navigationSettings.kcfg_animateTargetVoyage->isChecked() );
456 d->m_settings.setValue( "volatileTileCacheLimit", d->ui_cacheSettings.kcfg_volatileTileCacheLimit->value() );
457 d->m_settings.setValue( "persistentTileCacheLimit", d->ui_cacheSettings.kcfg_persistentTileCacheLimit->value() );
471 d->m_settings.setValue( "systemTimezone", d->ui_timeSettings.kcfg_systemTimezone->isChecked() );
473 d->m_settings.setValue( "customTimezone", d->ui_timeSettings.kcfg_customTimezone->isChecked() );
475 d->m_settings.setValue( "lastSessionTime", d->ui_timeSettings.kcfg_lastSessionTime->isChecked() );
476 d->m_settings.setValue( "chosenTimezone", d->ui_timeSettings.kcfg_chosenTimezone->currentIndex() );
482 d->m_settings.setValue( "syncBookmarks", d->ui_cloudSyncSettings.kcfg_syncBookmarks->isChecked() );
484 d->m_settings.setValue( "owncloudServer", d->ui_cloudSyncSettings.kcfg_owncloudServer->text() );
485 d->m_settings.setValue( "owncloudUsername", d->ui_cloudSyncSettings.kcfg_owncloudUsername->text() );
486 d->m_settings.setValue( "owncloudPassword", d->ui_cloudSyncSettings.kcfg_owncloudPassword->text() );
538 QString graphicsSystemString = d->m_settings.value( "View/graphicsSystem", "raster" ).toString();
572 int defaultValue = MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen ? 6 : 100;
578 return d->m_settings.value( "Cache/persistentTileCacheLimit", 0 ).toInt(); // default to unlimited
QLayout * layout() const
void clearPersistentCacheClicked()
The user clicked on the button to clear persistent tile cache.
virtual void reject()
bool animateTargetVoyage() const
Definition: QtMarbleConfigDialog.cpp:559
void initializeCustomTimezone()
Definition: QtMarbleConfigDialog.cpp:641
MarbleLocale::MeasurementSystem measurementSystem() const
Definition: MarbleLocale.cpp:45
void enableSyncNow()
Definition: QtMarbleConfigDialog.cpp:284
This file contains the multiple inheritance ui-wrapper for the MarblePluginSettingsWidget ui file...
int proxyPort() const
Definition: QtMarbleConfigDialog.cpp:586
QString proxyUser() const
Definition: QtMarbleConfigDialog.cpp:591
This file contains the headers for MarbleModel.
void rejected()
QString owncloudServer() const
Definition: QtMarbleConfigDialog.cpp:699
void setUser(const QString &user)
void accepted()
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:82
QString tr(const char *sourceText, const char *disambiguation, int n)
StandardButton information(QWidget *parent, const QString &title, const QString &text, QFlags< QMessageBox::StandardButton > buttons, StandardButton defaultButton)
QString proxyUrl() const
Definition: QtMarbleConfigDialog.cpp:581
QString owncloudPassword() const
Definition: QtMarbleConfigDialog.cpp:709
QString proxyPass() const
Definition: QtMarbleConfigDialog.cpp:596
int onStartup() const
Definition: QtMarbleConfigDialog.cpp:547
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
void updateCloudSyncStatus(const QString &status)
Show status on cloud sync settings tab.
Definition: QtMarbleConfigDialog.cpp:391
void setTimeSpec(Qt::TimeSpec spec)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QFont font()
void disableSyncNow()
Disable "Sync Now" button while sync or for 30 sec of timout.
Definition: QtMarbleConfigDialog.cpp:260
int persistentTileCacheLimit() const
Definition: QtMarbleConfigDialog.cpp:576
void setLayout(QLayout *layout)
int chosenTimezone() const
Read the value of 'Time/chosenTimezone' key from settings.
Definition: QtMarbleConfigDialog.cpp:636
Display the name in the official language and glyphs of the labeled place.
Definition: MarbleGlobal.h:127
QtMarbleConfigDialog(MarbleWidget *marbleWidget, CloudSyncManager *syncManager=0, QWidget *parent=0)
Definition: QtMarbleConfigDialog.cpp:97
int addTab(QWidget *page, const QString &label)
bool inertialEarthRotation() const
Definition: QtMarbleConfigDialog.cpp:565
void deleteLater()
MarbleLocale::MeasurementSystem measurementSystem() const
Definition: QtMarbleConfigDialog.cpp:504
~QtMarbleConfigDialog()
Definition: QtMarbleConfigDialog.cpp:212
bool proxyAuth() const
Definition: QtMarbleConfigDialog.cpp:606
virtual void accept()
QLocale locale() const
A class that contains all localization stuff for Marble.
Definition: MarbleLocale.h:31
bool customTimezone() const
Read the value of 'Time/customTimezone' key from settings.
Definition: QtMarbleConfigDialog.cpp:616
bool syncRoutes() const
Definition: QtMarbleConfigDialog.cpp:694
QString syncBackend() const
Definition: QtMarbleConfigDialog.cpp:684
bool lastSessionTime() const
Read the value of 'Time/lastSessionTime' key from settings.
Definition: QtMarbleConfigDialog.cpp:631
QDateTime currentDateTime()
QString externalMapEditor() const
Definition: QtMarbleConfigDialog.cpp:554
void setPassword(const QString &password)
void setType(QNetworkProxy::ProxyType type)
AngleUnit
This enum is used to choose the unit chosen to measure angles.
Definition: MarbleGlobal.h:65
bool systemTimezone() const
Read the value of 'Time/systemTimezone' key from settings.
Definition: QtMarbleConfigDialog.cpp:611
bool proxyType() const
Definition: QtMarbleConfigDialog.cpp:601
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
QString owncloudUsername() const
Definition: QtMarbleConfigDialog.cpp:704
void updateLastSync()
Sets new title for the "Last Sync" label indicator.
Definition: QtMarbleConfigDialog.cpp:293
void settingsChanged()
This signal is emitted when when the loaded settings were changed.
void setPort(quint16 port)
void syncNowClicked()
The user clicked on the button to manually synchronize bookmarks.
void clearVolatileCacheClicked()
The user clicked on the button to clear volatile tile cache.
This file contains the headers for MarbleWidget.
void start(int msec)
QPushButton * button(StandardButton which) const
bool systemTime() const
Read the value of 'Time/systemTime' key from settings.
Definition: QtMarbleConfigDialog.cpp:626
QDateTime toLocalTime() const
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
bool syncEnabled() const
Definition: QtMarbleConfigDialog.cpp:679
bool UTC() const
Read the value of 'Time/UTC' key from settings.
Definition: QtMarbleConfigDialog.cpp:621
GraphicsSystem
This enum is used to choose which graphics system Qt is using.
Definition: MarbleGlobal.h:93
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setApplicationProxy(const QNetworkProxy &networkProxy)
Definition: CloudSyncManager.h:24
bool syncBookmarks() const
Definition: QtMarbleConfigDialog.cpp:689
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
Marble::AngleUnit angleUnit() const
Definition: QtMarbleConfigDialog.cpp:514
int volatileTileCacheLimit() const
Definition: QtMarbleConfigDialog.cpp:570
Marble::MapQuality animationQuality() const
Definition: QtMarbleConfigDialog.cpp:525
void setHostName(const QString &hostName)
Marble::MapQuality stillQuality() const
Definition: QtMarbleConfigDialog.cpp:519
Marble::GraphicsSystem graphicsSystem() const
Definition: QtMarbleConfigDialog.cpp:536
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.