Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryIPreferencePage.h>
Public Member Functions | |
berryObjectMacro (berry::IPreferencePage)~IPreferencePage() | |
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:
extension point="org.blueberry.ui.preferencePages" page id="com.example.myplugin.prefs" name="Knobs" class="ns::MyPreferencePage" / /extension
Definition at line 47 of file berryIPreferencePage.h.
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 QmitkMultiLabelSegmentationPreferencePage, QmitkSegmentationPreferencePage, QmitkDataManagerHotkeysPrefPage, and QmitkDataManagerPreferencePage.
Referenced by QmitkPreferencesDialog::OnPreferencesTreeItemSelectionChanged().
|
pure virtual |
Invoked when the Cancel button was clicked in the preferences dialog
Implemented in QmitkMultiLabelSegmentationPreferencePage, QmitkSegmentationPreferencePage, QmitkDataManagerHotkeysPrefPage, and QmitkDataManagerPreferencePage.
Referenced by QmitkPreferencesDialog::OnDialogRejected().
|
pure virtual |
Invoked when the OK button was clicked in the preferences dialog
Implemented in QmitkMultiLabelSegmentationPreferencePage, QmitkSegmentationPreferencePage, QmitkDataManagerHotkeysPrefPage, and QmitkDataManagerPreferencePage.
Referenced by QmitkPreferencesDialog::SavePreferences().
|
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 QmitkMultiLabelSegmentationPreferencePage, QmitkSegmentationPreferencePage, QmitkDataManagerHotkeysPrefPage, and QmitkDataManagerPreferencePage.
Referenced by QmitkPreferencesDialog::OnImportButtonClicked().