Stellarium  0.90.0
RemoteControlDialog.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 _REMOTECONTROLDIALOG_HPP_
21 #define _REMOTECONTROLDIALOG_HPP_
22 
23 #include "StelDialog.hpp"
24 #include "StelGui.hpp"
25 #include "StelTranslator.hpp"
26 
27 #include <QString>
28 
29 class Ui_remoteControlDialog;
30 class RemoteControl;
31 
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_remoteControlDialog* ui;
49  RemoteControl* rc;
50 
51  void setAboutHtml();
52 
53 private slots:
54  void requiresRestart();
55  void restart();
56  void updateIPlabel(bool);
57 
58 };
59 
60 
61 #endif /* _REMOTECONTROLDIALOG_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 class of the RemoteControl plug-in, implementing the StelModule interface.
Define some translation macros.
Main window of the Angle Measure plug-in.