src/ColorSelector.h

changeset 642
751a8df42842
parent 641
425b169a82aa
equal deleted inserted replaced
641:425b169a82aa 642:751a8df42842
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);

mercurial