Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkColorPropertyView Class Reference

#include <QmitkColorPropertyView.h>

Inheritance diagram for QmitkColorPropertyView:
Collaboration diagram for QmitkColorPropertyView:

Public Member Functions

 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 Member Functions

virtual void PropertyChanged () override
 
virtual void PropertyRemoved () override
 
void DisplayColor ()
 
- Protected Member Functions inherited from mitk::PropertyObserver
void BeginModifyProperty ()
 
void EndModifyProperty ()
 

Protected Attributes

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 25 of file QmitkColorPropertyView.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file QmitkColorPropertyView.cpp.

References m_WidgetPalette, and PropertyChanged().

QmitkColorPropertyView::~QmitkColorPropertyView ( )
virtual

Definition at line 32 of file QmitkColorPropertyView.cpp.

Member Function Documentation

void QmitkColorPropertyView::DisplayColor ( )
protected
void QmitkColorPropertyView::PropertyChanged ( )
overrideprotectedvirtual

Implements mitk::PropertyObserver.

Definition at line 36 of file QmitkColorPropertyView.cpp.

References DisplayColor(), and mitk::PropertyView::m_Property.

Referenced by QmitkColorPropertyView().

void QmitkColorPropertyView::PropertyRemoved ( )
overrideprotectedvirtual

Member Data Documentation

const mitk::ColorProperty* QmitkColorPropertyView::m_ColorProperty
protected
QPalette QmitkColorPropertyView::m_WidgetPalette
protected

Definition at line 41 of file QmitkColorPropertyView.h.

Referenced by DisplayColor(), and QmitkColorPropertyView().


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