src/colorSelector.h

changeset 948
3a91828475fd
parent 947
edc8fc0f37f2
equal deleted inserted replaced
947:edc8fc0f37f2 948:3a91828475fd
30 explicit ColorSelector (LDColor defaultvalue = LDColor::nullColor(), QWidget* parent = null); 30 explicit ColorSelector (LDColor defaultvalue = LDColor::nullColor(), QWidget* parent = null);
31 virtual ~ColorSelector(); 31 virtual ~ColorSelector();
32 static bool selectColor (LDColor& val, LDColor defval = LDColor::nullColor(), QWidget* parent = null); 32 static bool selectColor (LDColor& val, LDColor defval = LDColor::nullColor(), QWidget* parent = null);
33 33
34 private: 34 private:
35 class Ui_ColorSelUI& ui; 35 class Ui_ColorSelUi& ui;
36 QMap<int, QPushButton*> m_buttons; 36 QMap<int, QPushButton*> m_buttons;
37 QMap<QPushButton*, int> m_buttonsReversed; 37 QMap<QPushButton*, int> m_buttonsReversed;
38 bool m_firstResize; 38 bool m_firstResize;
39 39
40 void drawColorInfo(); 40 void drawColorInfo();

mercurial