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