15 #ifndef TrackedImageViewPreferencePage_h
16 #define TrackedImageViewPreferencePage_h
18 #include <berryIQtPreferencePage.h>
19 #include <berryIPreferences.h>
25 class ctkPathLineEdit;
37 Q_INTERFACES(berry::IPreferencePage)
85 void Init(berry::IWorkbench::Pointer workbench)
override;
104 virtual void Update()
override;
110 QWidget *m_MainControl;
111 ctkPathLineEdit *m_CalibrationFileName;
112 ctkPathLineEdit *m_ScaleFileName;
113 ctkPathLineEdit *m_EmToWorldCalibrationFileName;
116 QCheckBox *m_FlipXScaling;
117 QCheckBox *m_FlipYScaling;
119 QCheckBox *m_CloneImage;
120 QCheckBox *m_Show2DWindow;
122 berry::IPreferences::Pointer m_TrackedImageViewPreferencesNode;
125 #endif // TrackedImageViewPreferencePage_h
static const QString FLIP_X_SCALING
Stores the name of the preference node that contains whether we flip the x scale factor to be negativ...
Definition: TrackedImageViewPreferencePage.h:64
TrackedImageViewPreferencePage()
Definition: TrackedImageViewPreferencePage.cxx:40
static const QString FLIP_Y_SCALING
Stores the name of the preference node that contains whether we flip the y scale factor to be negativ...
Definition: TrackedImageViewPreferencePage.h:69
Preferences page for the Tracked Image View plugin.
Definition: TrackedImageViewPreferencePage.h:34
QWidget * GetQtControl() const override
Definition: TrackedImageViewPreferencePage.cxx:120
static const QString SCALE_FILE_NAME
Stores the name of the preference node that contains the name of the scale file.
Definition: TrackedImageViewPreferencePage.h:54
virtual bool PerformOk() override
Definition: TrackedImageViewPreferencePage.cxx:127
static const QString EMTOWORLDCALIBRATION_FILE_NAME
Stores the name of the preference node that contains the name of the scale file.
Definition: TrackedImageViewPreferencePage.h:59
virtual void Update() override
Definition: TrackedImageViewPreferencePage.cxx:148
void CreateQtControl(QWidget *widget) override
Definition: TrackedImageViewPreferencePage.cxx:76
virtual void PerformCancel() override
Definition: TrackedImageViewPreferencePage.cxx:141
static const QString SHOW_2D_WINDOW
Stores the name of the preference node that controls if we show the 2D window.
Definition: TrackedImageViewPreferencePage.h:79
void Init(berry::IWorkbench::Pointer workbench) override
Definition: TrackedImageViewPreferencePage.cxx:69
static const QString PREFERENCES_NODE_NAME
Stores the name of the preferences node.
Definition: TrackedImageViewPreferencePage.h:44
static const QString CLONE_IMAGE
Stores the name of the preference node that contains status whether we show the clone image button...
Definition: TrackedImageViewPreferencePage.h:74
static const QString CALIBRATION_FILE_NAME
Stores the name of the preference node that contains the name of the calibration file.
Definition: TrackedImageViewPreferencePage.h:49
~TrackedImageViewPreferencePage()
Definition: TrackedImageViewPreferencePage.cxx:63