12 #ifndef QmitkColorPropertyEditor_h
13 #define QmitkColorPropertyEditor_h
64 virtual void popup(QWidget *parent,
86 QWidget *m_popupParent;
90 unsigned int m_Steps2;
98 QColor m_OriginalColor;
Editable color swatch for a mitk::ColorProperty.
static QmitkPopupColorChooser * colorChooser
~QmitkColorPropertyEditor() override
Destructor. Decrements the shared color chooser reference count.
QmitkColorPropertyEditor(const mitk::ColorProperty *property, QWidget *parent)
Construct an editor for the given color property.
static int colorChooserRefCount
void onColorSelected(QColor)
void mousePressEvent(QMouseEvent *) override
void mouseReleaseEvent(QMouseEvent *) override
Read-only QLabel that displays a mitk::ColorProperty as a colored swatch.
Property for storing RGB color values.
itk::RGBPixel< float > Color
Standard RGB color typedef using float components.