Stellarium 0.12.3
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 <QObject>
27 #include "StelDialog.hpp"
28 #include "RefractionExtinction.hpp"
29 
30 class Ui_AtmosphereDialogForm;
31 
33 {
34  Q_OBJECT
35 
36 public:
38  virtual ~AtmosphereDialog();
39 
40 public slots:
41  void retranslate();
42 
43 protected:
45  virtual void createDialogContent();
46  Ui_AtmosphereDialogForm *ui;
47 
48 private:
49  Refraction *refraction;
50  Extinction *extinction;
51 };
52 
53 #endif // _ATMOSPHEREDIALOG_HPP_