18 |
18 |
19 #pragma once |
19 #pragma once |
20 #include <QDialog> |
20 #include <QDialog> |
21 #include "../main.h" |
21 #include "../main.h" |
22 #include "../colors.h" |
22 #include "../colors.h" |
23 #include "../hierarchyelement.h" |
|
24 |
23 |
25 /* |
24 /* |
26 * Implements a dialog that asks the user to choose an LDraw color from a grid of available colors. Direct colors are also supported. |
25 * Implements a dialog that asks the user to choose an LDraw color from a grid of available colors. Direct colors are also supported. |
27 */ |
26 */ |
28 class ColorSelector : public QDialog, public HierarchyElement |
27 class ColorSelector : public QDialog |
29 { |
28 { |
30 Q_OBJECT |
29 Q_OBJECT |
31 |
30 |
32 public: |
31 public: |
33 ColorSelector(QWidget* parent, LDColor defaultvalue = LDColor::nullColor); |
32 ColorSelector(QWidget* parent, LDColor defaultvalue = LDColor::nullColor); |