Stellarium 0.14.3
FOVWindow.hpp
1 /*
2  * FOV 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 _FOV_WINDOW_HPP_
21 #define _FOV_WINDOW_HPP_
22 
23 #include "StelDialog.hpp"
24 
25 #include <QString>
26 #include <QDoubleSpinBox>
27 
28 class Ui_fovWindowForm;
29 class FOV;
30 
33 class FOVWindow : public StelDialog
34 {
35  Q_OBJECT
36 
37 public:
38  FOVWindow();
39  ~FOVWindow();
40 
41 public slots:
42  void retranslate();
43 
44 protected:
45  void createDialogContent();
46 
47 private:
48  Ui_fovWindowForm* ui;
49  FOV* fov;
50 
51  void updateAboutText();
52  void populateFOV();
53 
54 private slots:
55  void saveFOVSettings();
56  void resetFOVSettings();
57  void updateFOV0(double value);
58  void updateFOV1(double value);
59  void updateFOV2(double value);
60  void updateFOV3(double value);
61  void updateFOV4(double value);
62  void updateFOV5(double value);
63  void updateFOV6(double value);
64  void updateFOV7(double value);
65  void updateFOV8(double value);
66  void updateFOV9(double value);
67 
68 };
69 
70 
71 #endif /* _FOV_WINDOW_HPP_ */
Main window of the FOV plug-in.
Definition: FOVWindow.hpp:33
Main class of the Field of View plugin.
Definition: FOV.hpp:47
A local copy of StelDialog, the base class for all the GUI windows in Stellarium, included to allow t...