20 #ifndef _CONFIGURATIONDIALOG_HPP_
21 #define _CONFIGURATIONDIALOG_HPP_
24 #include <QNetworkReply>
26 #include "StelDialog.hpp"
28 class Ui_configurationDialogForm;
31 class QNetworkAccessManager;
32 class QListWidgetItem;
51 Ui_configurationDialogForm* ui;
55 QVariantMap nextStarCatalogToDownload;
59 void resetStarCatalogControls();
62 void updateStarCatalogControlsText();
64 bool isDownloadingStarCatalog;
66 int nextStarCatalogToDownloadIndex;
68 int starCatalogsCount;
70 bool hasDownloadedStarCatalog;
71 QNetworkReply* starCatalogDownloadReply;
72 QFile* currentDownloadFile;
78 void setNoSelectedInfo();
79 void setAllSelectedInfo();
80 void setBriefSelectedInfo();
84 void setSelectedInfoFromCheckBoxes();
86 void updateCurrentLanguage();
87 void updateCurrentSkyLanguage();
88 void selectLanguage(
const QString& languageCode);
89 void selectSkyLanguage(
const QString& languageCode);
90 void setStartupTimeMode();
92 void showShortcutsWindow();
93 void setDiskViewport(
bool);
94 void setSphericMirror(
bool);
95 void cursorTimeOutChanged();
96 void cursorTimeOutChanged(
double) {cursorTimeOutChanged();}
98 void newStarCatalogData();
100 void cancelDownload();
101 void downloadFinished();
102 void downloadError(QNetworkReply::NetworkError);
105 void updateConfigLabels();
110 void browseForScreenshotDir();
111 void selectScreenshotDir(
const QString& dir);
116 void saveCurrentViewOptions();
120 void setDefaultViewOptions();
122 void populatePluginsList();
123 void pluginsSelectionChanged(QListWidgetItem *item, QListWidgetItem *previousItem);
124 void pluginConfigureCurrentSelection();
125 void loadAtStartupChanged(
int);
127 void populateDeltaTAlgorithmsList();
128 void setDeltaTAlgorithm(
int algorithmID);
129 void setDeltaTAlgorithmDescription();
130 void showCustomDeltaTEquationDialog();
132 #ifndef DISABLE_SCRIPTING
133 void scriptSelectionChanged(
const QString& s);
138 void runScriptClicked();
140 void stopScriptClicked();
142 void aScriptIsRunning();
143 void aScriptHasStopped();
145 void populateScriptsList();
147 void setFixedDateTimeToCurrent();
154 int savedProjectionType;
157 void updateSelectedInfoCheckBoxes();
160 void updateTabBarListWidgetWidth();
163 #endif // _CONFIGURATIONDIALOG_HPP_
void styleChanged()
Notify that the application style changed.
Base class for all the GUI windows in Stellarium.
Maintain the state of a progress bar.
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
Main class for the GUI based on QGraphicView.