15 #ifndef niftkIGIVLVideoOverlayEditorPreferencePage_h
16 #define niftkIGIVLVideoOverlayEditorPreferencePage_h
18 #include <berryIQtPreferencePage.h>
19 #include <berryIPreferences.h>
23 class ctkPathLineEdit;
36 Q_INTERFACES(berry::IPreferencePage)
41 void Init(berry::IWorkbench::Pointer workbench)
override;
59 virtual void Update()
override;
78 QWidget *m_MainControl;
79 ctkPathLineEdit *m_CalibrationFileName;
80 QPushButton *m_BackgroundColourButton;
81 unsigned int m_BackgroundColour;
82 berry::IPreferences::Pointer m_IGIVLVideoOverlayEditorPreferencesNode;
void Init(berry::IWorkbench::Pointer workbench) override
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:45
virtual bool PerformOk() override
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:118
virtual void Update() override
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:134
static const QString BACKGROUND_COLOR_PREFSKEY
Stores the name of the preference node that contains the background colour.
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.h:69
QWidget * GetQtControl() const override
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:111
Preference page for IGIVLVideoOverlayEditor, eg. setting the gradient background. ...
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.h:33
static const QString CALIBRATION_FILE_NAME
Stores the name of the preference node that contains the name of the calibration file.
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.h:64
void OnBackgroundColourClicked()
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:93
static const unsigned int DEFAULT_BACKGROUND_COLOR
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.h:70
virtual void PerformCancel() override
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:127
void CreateQtControl(QWidget *widget) override
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:51
Definition: niftkExceptionObject.h:21
IGIVLVideoOverlayEditorPreferencePage()
Definition: niftkIGIVLVideoOverlayEditorPreferencePage.cxx:35