12 #ifndef QmitkColorPropertyEditor_h
13 #define QmitkColorPropertyEditor_h
33 virtual void popup(QWidget *parent,
39 void colorSelected(QColor);
42 void keyReleaseEvent(QKeyEvent *)
override;
44 void mouseMoveEvent(QMouseEvent *)
override;
45 void mouseReleaseEvent(QMouseEvent *)
override;
46 void closeEvent(QCloseEvent *)
override;
48 void paintEvent(QPaintEvent *)
override;
49 void drawGradient(QPainter *p);
52 QWidget *m_popupParent;
56 unsigned int m_Steps2;
64 QColor m_OriginalColor;
77 void mousePressEvent(QMouseEvent *)
override;
78 void mouseReleaseEvent(QMouseEvent *)
override;
85 void onColorSelected(QColor);