Stellarium 0.15.2
EquationOfTimeWindow.hpp
1 /*
2  * Equation of Time plug-in for Stellarium
3  *
4  * Copyright (C) 2014 Alexander Wolf
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef _EQUATION_OF_TIME_WINDOW_HPP_
21 #define _EQUATION_OF_TIME_WINDOW_HPP_
22 
23 #include "StelDialog.hpp"
24 
25 #include <QString>
26 #include <QDoubleSpinBox>
27 
28 class Ui_equationOfTimeWindowForm;
29 class EquationOfTime;
30 
34 {
35  Q_OBJECT
36 
37 public:
40 
41 public slots:
42  void retranslate();
43 
44 protected:
45  void createDialogContent();
46 
47 private:
48  Ui_equationOfTimeWindowForm* ui;
49  EquationOfTime* eq;
50 
51  void updateAboutText();
52 
53 private slots:
54  void saveEquationOfTimeSettings();
55  void resetEquationOfTimeSettings();
56 
57 
58 };
59 
60 
61 #endif /* _EQUATION_OF_TIME_WINDOW_HPP_ */
void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
Base class for all the GUI windows in Stellarium.
Definition: StelDialog.hpp:72
Main window of the Equation of Time plug-in.
Main class of the Equation of Time plugin.