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 updateStartPointForAzimuth(
bool b);
100 void newStarCatalogData();
101 void downloadStars();
102 void cancelDownload();
103 void downloadFinished();
104 void downloadError(QNetworkReply::NetworkError);
107 void updateConfigLabels();
112 void browseForScreenshotDir();
113 void selectScreenshotDir(
const QString& dir);
118 void saveCurrentViewOptions();
122 void setDefaultViewOptions();
124 void populatePluginsList();
125 void pluginsSelectionChanged(QListWidgetItem *item, QListWidgetItem *previousItem);
126 void pluginConfigureCurrentSelection();
127 void loadAtStartupChanged(
int);
129 void populateDeltaTAlgorithmsList();
130 void setDeltaTAlgorithm(
int algorithmID);
131 void setDeltaTAlgorithmDescription();
132 void showCustomDeltaTEquationDialog();
134 #ifndef DISABLE_SCRIPTING
135 void scriptSelectionChanged(
const QString& s);
140 void runScriptClicked();
142 void stopScriptClicked();
144 void aScriptIsRunning();
145 void aScriptHasStopped();
147 void populateScriptsList();
149 void setFixedDateTimeToCurrent();
156 int savedProjectionType;
159 void updateSelectedInfoCheckBoxes();
162 void updateTabBarListWidgetWidth();
165 #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.