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;
76 void setNoSelectedInfo();
77 void setAllSelectedInfo();
78 void setBriefSelectedInfo();
82 void setSelectedInfoFromCheckBoxes();
84 void updateCurrentLanguage();
85 void updateCurrentSkyLanguage();
86 void selectLanguage(
const QString& languageCode);
87 void selectSkyLanguage(
const QString& languageCode);
88 void setStartupTimeMode();
90 void showShortcutsWindow();
91 void setDiskViewport(
bool);
92 void setSphericMirror(
bool);
93 void cursorTimeOutChanged();
94 void cursorTimeOutChanged(
double) {cursorTimeOutChanged();}
96 void updateStartPointForAzimuth(
bool b);
98 void newStarCatalogData();
100 void cancelDownload();
101 void downloadFinished();
102 void downloadError(QNetworkReply::NetworkError);
103 void resetEphemControls();
106 void updateConfigLabels();
111 void browseForScreenshotDir();
112 void selectScreenshotDir(
const QString& dir);
117 void saveAllSettings();
119 void saveCurrentViewDirSettings();
123 void setDefaultViewOptions();
125 void populatePluginsList();
126 void pluginsSelectionChanged(QListWidgetItem *item, QListWidgetItem *previousItem);
127 void pluginConfigureCurrentSelection();
128 void loadAtStartupChanged(
int);
130 void populateDeltaTAlgorithmsList();
131 void setDeltaTAlgorithm(
int algorithmID);
132 void setDeltaTAlgorithmDescription();
133 void showCustomDeltaTEquationDialog();
135 void populateDateFormatsList();
136 void setDateFormat();
138 void populateTimeFormatsList();
139 void setTimeFormat();
141 void setButtonBarDTFormat();
143 #ifndef DISABLE_SCRIPTING 144 void scriptSelectionChanged(
const QString& s);
149 void runScriptClicked();
151 void stopScriptClicked();
153 void aScriptIsRunning();
154 void aScriptHasStopped();
156 void populateScriptsList();
158 void setFixedDateTimeToCurrent();
160 void de430ButtonClicked();
161 void de431ButtonClicked();
168 int savedProjectionType;
171 void updateSelectedInfoCheckBoxes();
174 void updateTabBarListWidgetWidth();
177 #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.