26 class Ui_ColorSelUI; |
26 class Ui_ColorSelUI; |
27 class QGraphicsScene; |
27 class QGraphicsScene; |
28 |
28 |
29 class ColorSelector : public QDialog |
29 class ColorSelector : public QDialog |
30 { Q_OBJECT |
30 { Q_OBJECT |
31 PROPERTY (private, LDColor*, Selection, NO_OPS, NO_CB) |
31 PROPERTY (private, LDColor*, Selection, NO_OPS, STOCK_WRITE) |
32 |
32 |
33 public: |
33 public: |
34 explicit ColorSelector (int defval = -1, QWidget* parent = null); |
34 explicit ColorSelector (int defval = -1, QWidget* parent = null); |
35 virtual ~ColorSelector(); |
35 virtual ~ColorSelector(); |
36 static bool selectColor (int& val, int defval = -1, QWidget* parent = null); |
36 static bool selectColor (int& val, int defval = -1, QWidget* parent = null); |