Stellarium 0.15.2
AngleMeasureDialog.hpp
1 /*
2  * Angle Measure 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 _ANGLEMEASUREDIALOG_HPP_
21 #define _ANGLEMEASUREDIALOG_HPP_
22 
23 #include "StelDialog.hpp"
24 #include "StelGui.hpp"
25 #include "StelTranslator.hpp"
26 
27 #include <QString>
28 
29 class Ui_angleMeasureDialog;
30 class AngleMeasure;
31 
35 {
36  Q_OBJECT
37 
38 public:
41 
42 public slots:
43  void retranslate();
44 
45 protected:
46  void createDialogContent();
47 
48 private:
49  Ui_angleMeasureDialog* ui;
50  AngleMeasure* am;
51 
52  void setAboutHtml();
53 
54 private slots:
55  void resetAngleMeasureSettings();
56 };
57 
58 
59 #endif /* _ANGLEMEASUREDIALOG_HPP_ */
Main class of the Angle Measure plug-in.
Base class for all the GUI windows in Stellarium.
Definition: StelDialog.hpp:72
Define some translation macros.
void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
Main window of the Angle Measure plug-in.