20 #ifndef _CONFIGURATIONDIALOG_HPP_
21 #define _CONFIGURATIONDIALOG_HPP_
24 #include <QProgressBar>
25 #include <QNetworkReply>
27 #include "StelDialog.hpp"
29 class Ui_configurationDialogForm;
32 class QNetworkAccessManager;
33 class QListWidgetItem;
48 void updateIconsColor();
53 Ui_configurationDialogForm* ui;
57 QVariantMap nextStarCatalogToDownload;
61 void resetStarCatalogControls();
64 void updateStarCatalogControlsText();
66 bool isDownloadingStarCatalog;
68 int nextStarCatalogToDownloadIndex;
70 int starCatalogsCount;
72 bool hasDownloadedStarCatalog;
73 QNetworkReply* starCatalogDownloadReply;
74 QFile* currentDownloadFile;
75 QProgressBar* progressBar;
78 void setNoSelectedInfo();
79 void setAllSelectedInfo();
80 void setBriefSelectedInfo();
84 void setSelectedInfoFromCheckBoxes();
86 void selectLanguage(
const QString& languageCode);
87 void setStartupTimeMode();
89 void showShortcutsWindow();
90 void setDiskViewport(
bool);
91 void setSphericMirror(
bool);
92 void cursorTimeOutChanged();
93 void cursorTimeOutChanged(
double) {cursorTimeOutChanged();}
95 void newStarCatalogData();
97 void cancelDownload();
98 void downloadFinished();
99 void downloadError(QNetworkReply::NetworkError);
102 void updateConfigLabels();
107 void browseForScreenshotDir();
108 void selectScreenshotDir(
const QString& dir);
113 void saveCurrentViewOptions();
117 void setDefaultViewOptions();
119 void populatePluginsList();
120 void pluginsSelectionChanged(
const QString&);
121 void pluginConfigureCurrentSelection();
122 void loadAtStartupChanged(
int);
124 void populateDeltaTAlgorithmsList();
125 void setDeltaTAlgorithm(
int algorithmID);
126 void setDeltaTAlgorithmDescription();
127 void showCustomDeltaTEquationDialog();
129 #ifndef DISABLE_SCRIPTING
132 void scriptSelectionChanged(
const QString& s);
135 void runScriptClicked();
137 void stopScriptClicked();
139 void aScriptIsRunning();
140 void aScriptHasStopped();
142 void populateScriptsList();
144 void setFixedDateTimeToCurrent();
151 int savedProjectionType;
154 void updateSelectedInfoCheckBoxes();
157 void updateTabBarListWidgetWidth();
160 #endif // _CONFIGURATIONDIALOG_HPP_