16 #ifndef QMITK_COLORPROPERTYEDITOR_H_INCLUDED
17 #define QMITK_COLORPROPERTYEDITOR_H_INCLUDED
37 virtual void popup(QWidget *parent,
43 void colorSelected(QColor);
46 virtual void keyReleaseEvent(QKeyEvent *)
override;
48 virtual void mouseMoveEvent(QMouseEvent *)
override;
49 virtual void mouseReleaseEvent(QMouseEvent *)
override;
50 virtual void closeEvent(QCloseEvent *)
override;
52 virtual void paintEvent(QPaintEvent *)
override;
53 void drawGradient(QPainter *p);
56 QWidget *m_popupParent;
60 unsigned int m_Steps2;
68 QColor m_OriginalColor;
81 virtual void mousePressEvent(QMouseEvent *)
override;
82 virtual void mouseReleaseEvent(QMouseEvent *)
override;
89 void onColorSelected(QColor);
The ColorProperty class RGB color property.
static QmitkPopupColorChooser * colorChooser
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
static int colorChooserRefCount