Changeset View
Changeset View
Standalone View
Standalone View
src/effectstack/widgets/colorpickerwidget.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
52 | class ColorPickerWidget : public QWidget | 52 | class ColorPickerWidget : public QWidget | ||
53 | { | 53 | { | ||
54 | Q_OBJECT | 54 | Q_OBJECT | ||
55 | 55 | | |||
56 | public: | 56 | public: | ||
57 | /** @brief Sets up the widget. */ | 57 | /** @brief Sets up the widget. */ | ||
58 | explicit ColorPickerWidget(QWidget *parent = nullptr); | 58 | explicit ColorPickerWidget(QWidget *parent = nullptr); | ||
59 | /** @brief Makes sure the event filter is removed. */ | 59 | /** @brief Makes sure the event filter is removed. */ | ||
60 | virtual ~ColorPickerWidget(); | 60 | ~ColorPickerWidget() override; | ||
61 | 61 | | |||
62 | protected: | 62 | protected: | ||
63 | void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE; | 63 | void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE; | ||
64 | void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE; | 64 | void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE; | ||
65 | void mouseMoveEvent(QMouseEvent *event) Q_DECL_OVERRIDE; | 65 | void mouseMoveEvent(QMouseEvent *event) Q_DECL_OVERRIDE; | ||
66 | bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE; | 66 | bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE; | ||
67 | 67 | | |||
68 | private: | 68 | private: | ||
Show All 34 Lines |