Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <berryIPreferencePage.h>
Public Member Functions | |
berryObjectMacro (berry::IPreferencePage) | |
~IPreferencePage () override | |
virtual void | Init (IWorkbench::Pointer workbench)=0 |
virtual void | CreateControl (void *parent)=0 |
virtual void * | GetControl () const =0 |
virtual bool | PerformOk ()=0 |
virtual void | PerformCancel ()=0 |
virtual void | Update ()=0 |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () 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 |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
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 |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Interface for workbench preference pages.
Clients should implement this interface and include the name of their class in an extension contributed to the workbench's preference extension point (named "org.blueberry.ui.preferencePages"
). For example, the plug-in's XML markup might contain:
Definition at line 42 of file berryIPreferencePage.h.
|
override |
berry::IPreferencePage::berryObjectMacro | ( | berry::IPreferencePage | ) |
|
pure virtual |
Creates the top level control for this preference page under the given parent widget.
Implementors are responsible for ensuring that the created control can be accessed via GetControl
parent | the parent widget |
Implemented in berry::IQtPreferencePage.
|
pure virtual |
Returns the top level control for this dialog page.
May return null
if the control has not been created yet.
null
Implemented in berry::IQtPreferencePage.
|
pure virtual |
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.
workbench | the workbench |
Implemented in QmitkSegmentAnythingPreferencePage, QmitkDataManagerHotkeysPrefPage, QmitkSegmentationPreferencePage, and QmitkDataManagerPreferencePage.
|
pure virtual |
Invoked when the Cancel button was clicked in the preferences dialog
Implemented in QmitkSegmentAnythingPreferencePage, QmitkDataManagerHotkeysPrefPage, QmitkDataManagerPreferencePage, and QmitkSegmentationPreferencePage.
|
pure virtual |
Invoked when the OK button was clicked in the preferences dialog
Implemented in QmitkSegmentAnythingPreferencePage, QmitkDataManagerHotkeysPrefPage, QmitkSegmentationPreferencePage, and QmitkDataManagerPreferencePage.
|
pure virtual |
Invoked when the user performed an import. As the values of the preferences may have changed you should read all values again from the preferences service.
Implemented in QmitkSegmentAnythingPreferencePage, QmitkDataManagerHotkeysPrefPage, QmitkDataManagerPreferencePage, and QmitkSegmentationPreferencePage.