Stellarium  0.90.0
NavStarsWindow.hpp
1 /*
2  * Navigational Stars plug-in for Stellarium
3  *
4  * Copyright (C) 2016 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 _NAV_STARS_WINDOW_HPP_
21 #define _NAV_STARS_WINDOW_HPP_
22 
23 #include "StelDialog.hpp"
24 
25 class Ui_navStarsWindowForm;
26 class NavStars;
27 
30 class NavStarsWindow : public StelDialog
31 {
32  Q_OBJECT
33 
34 public:
36  ~NavStarsWindow();
37 
38 public slots:
39  void retranslate();
40 
41 protected:
42  void createDialogContent();
43 
44 private:
45  Ui_navStarsWindowForm* ui;
46  NavStars* ns;
47 
48  void setAboutHtml();
49  void populateNavigationalStarsSetDescription();
50 
51 private slots:
52  void saveSettings();
53  void resetSettings();
54 
55  void populateNavigationalStarsSets();
56  void setNavigationalStarsSet(int nsSetID);
57 };
58 
59 
60 #endif /* _NAV_STARS_WINDOW_HPP_ */
Base class for all the GUI windows in Stellarium.
Definition: StelDialog.hpp:72
void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
Main class of the Navigational Stars plugin.
Definition: NavStars.hpp:58
Main window of the Navigational Stars plug-in.