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();}
95 void usageButtonsBackgroundChanged(
bool b);
97 void updateStartPointForAzimuth(
bool b);
98 void updateSettingFormattingOutput(
bool b);
99 void updateSettingCCSDesignations(
bool b);
101 void newStarCatalogData();
102 void downloadStars();
103 void cancelDownload();
104 void downloadFinished();
105 void downloadError(QNetworkReply::NetworkError);
106 void resetEphemControls();
109 void updateConfigLabels();
114 void browseForScreenshotDir();
115 void selectScreenshotDir(
const QString& dir);
120 void saveAllSettings();
122 void saveCurrentViewDirSettings();
126 void setDefaultViewOptions();
128 void populatePluginsList();
129 void pluginsSelectionChanged(QListWidgetItem *item, QListWidgetItem *previousItem);
130 void pluginConfigureCurrentSelection();
131 void loadAtStartupChanged(
int);
133 void populateDeltaTAlgorithmsList();
134 void setDeltaTAlgorithm(
int algorithmID);
135 void setDeltaTAlgorithmDescription();
136 void showCustomDeltaTEquationDialog();
138 void populateDateFormatsList();
139 void setDateFormat();
141 void populateTimeFormatsList();
142 void setTimeFormat();
144 void setButtonBarDTFormat();
146 #ifndef DISABLE_SCRIPTING 147 void scriptSelectionChanged(
const QString& s);
152 void runScriptClicked();
154 void stopScriptClicked();
156 void aScriptIsRunning();
157 void aScriptHasStopped();
159 void populateScriptsList();
161 void setFixedDateTimeToCurrent();
163 void de430ButtonClicked();
164 void de431ButtonClicked();
171 int savedProjectionType;
174 void updateSelectedInfoCheckBoxes();
177 void updateTabBarListWidgetWidth();
180 #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.