Stellarium 0.15.2
MSConfigDialog.hpp
1 /*
2  * Stellarium: Meteor Showers Plug-in
3  * Copyright (C) 2013-2015 Marcos Cardinot
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
18 */
19 
20 #ifndef _MSCONFIGDIALOG_HPP_
21 #define _MSCONFIGDIALOG_HPP_
22 
23 #include "MeteorShowers.hpp"
24 #include "StelDialog.hpp"
25 
26 class Ui_MSConfigDialog;
27 
32 class MSConfigDialog : public StelDialog
33 {
34  Q_OBJECT
35 
36 public:
39 
42 
44  void init();
45 
46 protected:
48  void createDialogContent();
49 
50 public slots:
51  void retranslate();
52 
53 private slots:
55  void refreshUpdateTab();
56 
58  void refreshMarkersColor();
59 
61  void setColorARC();
62 
64  void setColorARG();
65 
67  void setColorIR();
68 
69 private:
70  MeteorShowersMgr* m_mgr;
71  Ui_MSConfigDialog* m_ui;
72 
73  void setAboutHtml();
74 };
75 
76 #endif // _MSCONFIGDIALOG_HPP_
Base class for all the GUI windows in Stellarium.
Definition: StelDialog.hpp:72
Main class of the Meteor Showers plugin, inherits from StelObjectModule.
MSConfigDialog(MeteorShowersMgr *mgr)
Constructor.
void init()
Initializes the components based on the current settings.
void createDialogContent()
Initializes the dialog and connect the signals/slots.
~MSConfigDialog()
Destructor.
Configuration window.