Stellarium 0.13.0
AtmosphereDialog.hpp
1 /*
2  * Stellarium
3  *
4  * Copyright (C) 2011 Georg Zotti (Refraction/Extinction feature)
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  * 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 
21 // GZ: Methods copied largely from AddRemoveLandscapesDialog
22 
23 #ifndef _ATMOSPHEREDIALOG_HPP_
24 #define _ATMOSPHEREDIALOG_HPP_
25 
26 #include "config.h"
27 #include <QObject>
28 #include "StelDialog.hpp"
29 #include "RefractionExtinction.hpp"
30 
31 class Ui_AtmosphereDialogForm;
32 
34 {
35  Q_OBJECT
36 
37 public:
39  virtual ~AtmosphereDialog();
40 
41 public slots:
42  void retranslate();
43 
44 protected:
46  virtual void createDialogContent();
47  Ui_AtmosphereDialogForm *ui;
48 
49 private:
50  Refraction *refraction;
51  Extinction *extinction;
52 };
53 
54 #endif // _ATMOSPHEREDIALOG_HPP_
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
This class performs extinction computations, following literature from atmospheric optics and astrono...
Definition: RefractionExtinction.hpp:45
This class performs refraction computations, following literature from atmospheric optics and astrono...
Definition: RefractionExtinction.hpp:121
Base class for all the GUI windows in Stellarium.
Definition: StelDialog.hpp:45
Definition: AtmosphereDialog.hpp:33