Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkColorPropertyEditor Class Reference

#include <QmitkColorPropertyEditor.h>

Inheritance diagram for QmitkColorPropertyEditor:
Collaboration diagram for QmitkColorPropertyEditor:

Public Member Functions

 QmitkColorPropertyEditor (const mitk::ColorProperty *, QWidget *parent)
 
virtual ~QmitkColorPropertyEditor ()
 
- Public Member Functions inherited from QmitkColorPropertyView
 QmitkColorPropertyView (const mitk::ColorProperty *, QWidget *parent)
 
virtual ~QmitkColorPropertyView ()
 
- Public Member Functions inherited from mitk::PropertyView
 PropertyView (const mitk::BaseProperty *)
 
virtual ~PropertyView ()
 
void OnModified (const itk::EventObject &e)
 
void OnDelete (const itk::EventObject &e)
 
- Public Member Functions inherited from mitk::PropertyObserver
 PropertyObserver ()
 
virtual ~PropertyObserver ()
 

Protected Slots

void onColorSelected (QColor)
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *) override
 
virtual void mouseReleaseEvent (QMouseEvent *) override
 
- Protected Member Functions inherited from QmitkColorPropertyView
virtual void PropertyChanged () override
 
virtual void PropertyRemoved () override
 
void DisplayColor ()
 
- Protected Member Functions inherited from mitk::PropertyObserver
void BeginModifyProperty ()
 
void EndModifyProperty ()
 

Static Protected Attributes

static QmitkPopupColorChoosercolorChooser
 
static int colorChooserRefCount
 

Additional Inherited Members

- Protected Attributes inherited from QmitkColorPropertyView
const mitk::ColorPropertym_ColorProperty
 
QPalette m_WidgetPalette
 
- Protected Attributes inherited from mitk::PropertyView
const mitk::BasePropertym_Property
 
- Protected Attributes inherited from mitk::PropertyObserver
unsigned long m_ModifiedTag
 
unsigned long m_DeleteTag
 
bool m_SelfCall
 

Detailed Description

Definition at line 72 of file QmitkColorPropertyEditor.h.

Constructor & Destructor Documentation

QmitkColorPropertyEditor::QmitkColorPropertyEditor ( const mitk::ColorProperty property,
QWidget *  parent 
)

Definition at line 231 of file QmitkColorPropertyEditor.cpp.

References colorChooser, and colorChooserRefCount.

QmitkColorPropertyEditor::~QmitkColorPropertyEditor ( )
virtual

Definition at line 248 of file QmitkColorPropertyEditor.cpp.

References colorChooser, and colorChooserRefCount.

Member Function Documentation

void QmitkColorPropertyEditor::mousePressEvent ( QMouseEvent *  e)
overrideprotectedvirtual
void QmitkColorPropertyEditor::mouseReleaseEvent ( QMouseEvent *  )
overrideprotectedvirtual

Definition at line 267 of file QmitkColorPropertyEditor.cpp.

References colorChooser, and onColorSelected().

void QmitkColorPropertyEditor::onColorSelected ( QColor  c)
protectedslot

Member Data Documentation

QmitkPopupColorChooser * QmitkColorPropertyEditor::colorChooser
staticprotected
int QmitkColorPropertyEditor::colorChooserRefCount
staticprotected

The documentation for this class was generated from the following files: