src/dialogs/colorselector.h

changeset 1296
aee618d087ff
parent 1174
91696a2e022c
child 1326
69a90bd2dba2
equal deleted inserted replaced
1295:ac8f0297885b 1296:aee618d087ff
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);

mercurial