15 #ifndef niftkVLStandardDisplayEditorPreferencePage_h
16 #define niftkVLStandardDisplayEditorPreferencePage_h
18 #include <berryIQtPreferencePage.h>
19 #include <berryIPreferences.h>
35 Q_INTERFACES(berry::IPreferencePage)
40 void Init(berry::IWorkbench::Pointer workbench)
override;
58 virtual void Update()
override;
72 QWidget *m_MainControl;
73 QPushButton *m_BackgroundColourButton;
74 unsigned int m_BackgroundColour;
75 berry::IPreferences::Pointer m_VLStandardDisplayEditorPreferencesNode;
virtual void Update() override
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:127
static const unsigned int DEFAULT_BACKGROUND_COLOR
Definition: niftkVLStandardDisplayEditorPreferencePage.h:64
virtual void PerformCancel() override
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:120
void OnBackgroundColourClicked()
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:87
static const QString BACKGROUND_COLOR_PREFSKEY
Stores the name of the preference node that contains the background colour.
Definition: niftkVLStandardDisplayEditorPreferencePage.h:63
QWidget * GetQtControl() const override
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:105
Preference page for VLStandardDisplayEditor, eg. setting the background colour.
Definition: niftkVLStandardDisplayEditorPreferencePage.h:32
VLStandardDisplayEditorPreferencePage()
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:33
virtual bool PerformOk() override
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:112
void CreateQtControl(QWidget *widget) override
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:48
void Init(berry::IWorkbench::Pointer workbench) override
Definition: niftkVLStandardDisplayEditorPreferencePage.cxx:42
Definition: niftkExceptionObject.h:21