Stellarium 0.15.2
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 askDSONebulaeColor();
57  void askDSOPlanetaryNebulaeColor();
58  void askDSODarkNebulaeColor();
59  void askDSOReflectionNebulaeColor();
60  void askDSOBipolarNebulaeColor();
61  void askDSOEmissionNebulaeColor();
62  void askDSONebulosityClustersColor();
63  void askDSOPossiblePlanetaryNebulaeColor();
64  void askDSOProtoplanetaryNebulaeColor();
65  void askDSOHydrogenRegionsColor();
66  void askDSOInterstellarMatterColor();
67  void askDSOEmissionObjectsColor();
68  void askDSOMolecularCloudsColor();
69  void askDSOBLLacObjectsColor();
70  void askDSOBlazarsColor();
71  void askDSOYoungStellarObjectsColor();
72  void askDSOSupernovaRemnantsColor();
73 
74 private:
75  void colorButton(QToolButton *toolButton, QString propName);
76 
77 protected:
79  virtual void createDialogContent();
80  Ui_ConfigureDSOColorsDialogForm *ui;
81 
82 };
83 
84 #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.