Diffstat (limited to 'noncore/graphics/drawpad/colorpanel.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/colorpanel.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/graphics/drawpad/colorpanel.h b/noncore/graphics/drawpad/colorpanel.h index 05364c1..4664879 100644 --- a/noncore/graphics/drawpad/colorpanel.h +++ b/noncore/graphics/drawpad/colorpanel.h | |||
@@ -24,25 +24,22 @@ class ColorPanelButton : public QFrame | |||
24 | Q_OBJECT | 24 | Q_OBJECT |
25 | 25 | ||
26 | public: | 26 | public: |
27 | ColorPanelButton(const QColor& color, QWidget* parent = 0, const char* name = 0); | 27 | ColorPanelButton(const QColor& color, QWidget* parent = 0, const char* name = 0); |
28 | ~ColorPanelButton(); | 28 | ~ColorPanelButton(); |
29 | 29 | ||
30 | void setActive(bool active); | ||
31 | |||
32 | void enterEvent(QEvent* e); | 30 | void enterEvent(QEvent* e); |
33 | void leaveEvent(QEvent* e); | 31 | void leaveEvent(QEvent* e); |
34 | void paintEvent(QPaintEvent* e); | 32 | void paintEvent(QPaintEvent* e); |
35 | void mouseReleaseEvent(QMouseEvent* e); | 33 | void mouseReleaseEvent(QMouseEvent* e); |
36 | 34 | ||
37 | signals: | 35 | signals: |
38 | void selected(const QColor&); | 36 | void selected(const QColor&); |
39 | 37 | ||
40 | private: | 38 | private: |
41 | QColor m_color; | 39 | QColor m_color; |
42 | bool m_active; | ||
43 | }; | 40 | }; |
44 | 41 | ||
45 | class ColorPanel : public QWidget | 42 | class ColorPanel : public QWidget |
46 | { | 43 | { |
47 | Q_OBJECT | 44 | Q_OBJECT |
48 | 45 | ||