Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkSegmentationPreferencePage Class Reference

#include <QmitkSegmentationPreferencePage.h>

Inheritance diagram for QmitkSegmentationPreferencePage:
Collaboration diagram for QmitkSegmentationPreferencePage:

Public Member Functions

 QmitkSegmentationPreferencePage ()
 
 ~QmitkSegmentationPreferencePage ()
 
void Init (berry::IWorkbench::Pointer workbench) override
 
void CreateQtControl (QWidget *widget) override
 
QWidget * GetQtControl () const override
 
virtual bool PerformOk () override
 
virtual void PerformCancel () override
 
virtual void Update () override
 
- Public Member Functions inherited from berry::IQtPreferencePage
 berryObjectMacro (berry::IQtPreferencePage)
 
- Public Member Functions inherited from berry::IPreferencePage
 berryObjectMacro (berry::IPreferencePage)~IPreferencePage()
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 

Protected Slots

void OnVolumeRenderingCheckboxChecked (int)
 
void OnSmoothingCheckboxChecked (int)
 

Protected Attributes

QWidget * m_MainControl
 
QCheckBox * m_SlimViewCheckBox
 
QRadioButton * m_RadioOutline
 
QRadioButton * m_RadioOverlay
 
QCheckBox * m_VolumeRenderingCheckBox
 
QCheckBox * m_SmoothingCheckBox
 
QDoubleSpinBox * m_SmoothingSpinBox
 
QDoubleSpinBox * m_DecimationSpinBox
 
QDoubleSpinBox * m_ClosingSpinBox
 
QCheckBox * m_SelectionModeCheckBox
 
bool m_Initializing
 
berry::IPreferences::Pointer m_SegmentationPreferencesNode
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Member Functions inherited from berry::IQtPreferencePage
void CreateControl (void *parent) override
 
void * GetControl () const override
 
- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 

Detailed Description

Definition at line 30 of file QmitkSegmentationPreferencePage.h.

Constructor & Destructor Documentation

QmitkSegmentationPreferencePage::QmitkSegmentationPreferencePage ( )

Definition at line 31 of file QmitkSegmentationPreferencePage.cpp.

QmitkSegmentationPreferencePage::~QmitkSegmentationPreferencePage ( )

Definition at line 38 of file QmitkSegmentationPreferencePage.cpp.

Member Function Documentation

QWidget * QmitkSegmentationPreferencePage::GetQtControl ( ) const
overridevirtual

Implements berry::IQtPreferencePage.

Definition at line 116 of file QmitkSegmentationPreferencePage.cpp.

References m_MainControl.

void QmitkSegmentationPreferencePage::Init ( berry::IWorkbench::Pointer  workbench)
overridevirtual

Initializes this preference page for the given workbench.

This method is called automatically as the preference page is being created and initialized. Clients must not call this method.

Parameters
workbenchthe workbench

Implements berry::IPreferencePage.

Definition at line 43 of file QmitkSegmentationPreferencePage.cpp.

void QmitkSegmentationPreferencePage::OnSmoothingCheckboxChecked ( int  state)
protectedslot

Definition at line 187 of file QmitkSegmentationPreferencePage.cpp.

References m_SmoothingSpinBox.

Referenced by CreateQtControl().

void QmitkSegmentationPreferencePage::OnVolumeRenderingCheckboxChecked ( int  state)
protectedslot

Definition at line 174 of file QmitkSegmentationPreferencePage.cpp.

References m_Initializing.

Referenced by CreateQtControl().

void QmitkSegmentationPreferencePage::PerformCancel ( )
overridevirtual
See also
IPreferencePage::PerformCancel()

Implements berry::IPreferencePage.

Definition at line 134 of file QmitkSegmentationPreferencePage.cpp.

bool QmitkSegmentationPreferencePage::PerformOk ( )
overridevirtual
void QmitkSegmentationPreferencePage::Update ( )
overridevirtual

Member Data Documentation

QDoubleSpinBox* QmitkSegmentationPreferencePage::m_ClosingSpinBox
protected

Definition at line 76 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QDoubleSpinBox* QmitkSegmentationPreferencePage::m_DecimationSpinBox
protected

Definition at line 75 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

bool QmitkSegmentationPreferencePage::m_Initializing
protected
QWidget* QmitkSegmentationPreferencePage::m_MainControl
protected

Definition at line 68 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), and GetQtControl().

QRadioButton* QmitkSegmentationPreferencePage::m_RadioOutline
protected

Definition at line 70 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QRadioButton* QmitkSegmentationPreferencePage::m_RadioOverlay
protected

Definition at line 71 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), and Update().

berry::IPreferences::Pointer QmitkSegmentationPreferencePage::m_SegmentationPreferencesNode
protected

Definition at line 81 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QCheckBox* QmitkSegmentationPreferencePage::m_SelectionModeCheckBox
protected

Definition at line 77 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QCheckBox* QmitkSegmentationPreferencePage::m_SlimViewCheckBox
protected

Definition at line 69 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QCheckBox* QmitkSegmentationPreferencePage::m_SmoothingCheckBox
protected

Definition at line 73 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QDoubleSpinBox* QmitkSegmentationPreferencePage::m_SmoothingSpinBox
protected
QCheckBox* QmitkSegmentationPreferencePage::m_VolumeRenderingCheckBox
protected

Definition at line 72 of file QmitkSegmentationPreferencePage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().


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