Stellarium 0.15.2
ConfigureOrbitColorsDialog.hpp
1 /*
2  * Stellarium
3  *
4  * Copyright (C) 2016 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  * 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 _CONFIGUREORBITCOLORSDIALOG_HPP_
21 #define _CONFIGUREORBITCOLORSDIALOG_HPP_
22 
23 #include <QObject>
24 #include "StelDialog.hpp"
25 
26 class QToolButton;
27 class Ui_ConfigureOrbitColorsDialogForm;
28 
30 {
31  Q_OBJECT
32 
33 public:
35  virtual ~ConfigureOrbitColorsDialog();
36 
37 public slots:
38  void retranslate();
39 
40 private slots:
41  void askGenericOrbitColor();
42  void askMajorPlanetsGroupOrbitColor();
43  void askMinorPlanetsGroupOrbitColor();
44  void askDwarfPlanetsGroupOrbitColor();
45  void askMoonsGroupOrbitColor();
46  void askCubewanosGroupOrbitColor();
47  void askPlutinosGroupOrbitColor();
48  void askSDOGroupOrbitColor();
49  void askOCOGroupOrbitColor();
50  void askCometsGroupOrbitColor();
51  void askSednoidsGroupOrbitColor();
52  void askMercuryOrbitColor();
53  void askVenusOrbitColor();
54  void askEarthOrbitColor();
55  void askMarsOrbitColor();
56  void askJupiterOrbitColor();
57  void askSaturnOrbitColor();
58  void askUranusOrbitColor();
59  void askNeptuneOrbitColor();
60  void setColorStyle();
61 
62 private:
63  void colorButton(QToolButton *toolButton, QString propName);
64 
65 protected:
67  virtual void createDialogContent();
68  Ui_ConfigureOrbitColorsDialogForm *ui;
69 
70 };
71 
72 #endif // _CONFIGUREORBITCOLORSDIALOG_HPP_
Base class for all the GUI windows in Stellarium.
Definition: StelDialog.hpp:72
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.