Stellarium  0.90.0
ConfigureDSOColorsDialog.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 _CONFIGUREDSOCOLORSDIALOG_HPP_
21 #define _CONFIGUREDSOCOLORSDIALOG_HPP_
22 
23 #include <QObject>
24 #include "StelDialog.hpp"
25 
26 class QToolButton;
27 class Ui_ConfigureDSOColorsDialogForm;
28 
30 {
31  Q_OBJECT
32 
33 public:
35  virtual ~ConfigureDSOColorsDialog();
36 
37 public slots:
38  void retranslate();
39 
40 private slots:
41  // DSO markers and labels colors
42  void askDSOLabelsColor();
43  void askDSOMarkersColor();
44  void askDSOGalaxiesColor();
45  void askDSOActiveGalaxiesColor();
46  void askDSORadioGalaxiesColor();
47  void askDSOInteractingGalaxiesColor();
48  void askDSOQuasarsColor();
49  void askDSOPossibleQuasarsColor();
50  void askDSOStarClustersColor();
51  void askDSOOpenStarClustersColor();
52  void askDSOGlobularStarClustersColor();
53  void askDSOStellarAssociationsColor();
54  void askDSOStarCloudsColor();
55  void askDSOStarsColor();
56  void askDSOSymbioticStarsColor();
57  void askDSOEmissionLineStarsColor();
58  void askDSONebulaeColor();
59  void askDSOPlanetaryNebulaeColor();
60  void askDSODarkNebulaeColor();
61  void askDSOReflectionNebulaeColor();
62  void askDSOBipolarNebulaeColor();
63  void askDSOEmissionNebulaeColor();
64  void askDSONebulosityClustersColor();
65  void askDSOPossiblePlanetaryNebulaeColor();
66  void askDSOProtoplanetaryNebulaeColor();
67  void askDSOHydrogenRegionsColor();
68  void askDSOInterstellarMatterColor();
69  void askDSOEmissionObjectsColor();
70  void askDSOMolecularCloudsColor();
71  void askDSOBLLacObjectsColor();
72  void askDSOBlazarsColor();
73  void askDSOYoungStellarObjectsColor();
74  void askDSOSupernovaRemnantsColor();
75  void askDSOSupernovaCandidatesColor();
76  void askDSOSupernovaRemnantCandidatesColor();
77  void askDSOGalaxyClustersColor();
78 
79 private:
80  void colorButton(QToolButton *toolButton, QString propName);
81 
82 protected:
84  virtual void createDialogContent();
85  Ui_ConfigureDSOColorsDialogForm *ui;
86 
87 };
88 
89 #endif // _CONFIGUREDSOCOLORSDIALOG_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.