15 #ifndef IGIOverlayEditorPreferencePage_h
16 #define IGIOverlayEditorPreferencePage_h
18 #include <berryIQtPreferencePage.h>
19 #include <berryIPreferences.h>
26 class ctkPathLineEdit;
39 Q_INTERFACES(berry::IPreferencePage)
45 void Init(berry::IWorkbench::Pointer workbench)
override;
63 virtual void Update()
override;
98 QWidget *m_MainControl;
99 QCheckBox *m_ClipToImagePlane;
100 QPushButton *m_ColorButton1;
101 QPushButton *m_ColorButton2;
102 QString m_FirstColor;
103 QString m_SecondColor;
104 QString m_FirstColorStyleSheet;
105 QString m_SecondColorStyleSheet;
107 berry::IPreferences::Pointer m_IGIUltrasoundOverlayEditorPreferencesNode;
void SecondColorChanged()
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:201
void ResetColors()
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:223
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.h:36
QWidget * GetQtControl() const override
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:123
static const QString SECOND_BACKGROUND_COLOUR
Stores the name of the preference node that contains the second background colour.
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.h:83
void FirstColorChanged()
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:179
static const QString CLIP_TO_IMAGE_PLANE
Stores the name of the preference node containing whether we are using clipping planes in Image Track...
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.h:88
virtual void PerformCancel() override
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:142
static const QString FIRST_BACKGROUND_STYLE_SHEET
Stores the name of the preference node that contains the stylesheet of the first background colour...
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.h:68
void CreateQtControl(QWidget *widget) override
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:54
virtual bool PerformOk() override
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:130
void Init(berry::IWorkbench::Pointer workbench) override
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:48
virtual void Update() override
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:149
static const QString SECOND_BACKGROUND_STYLE_SHEET
Stores the name of the preference node that contains the stylesheet of the second background colour...
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.h:73
IGIUltrasoundOverlayEditorPreferencePage()
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.cxx:38
static const QString FIRST_BACKGROUND_COLOUR
Stores the name of the preference node that contains the first background colour. ...
Definition: niftkIGIUltrasoundOverlayEditorPreferencePage.h:78
Definition: niftkExceptionObject.h:21