15 #ifndef niftkBaseApplicationPreferencePage_h
16 #define niftkBaseApplicationPreferencePage_h
18 #include <uk_ac_ucl_cmic_commonapps_Export.h>
19 #include <berryIQtPreferencePage.h>
20 #include <berryIPreferences.h>
41 Q_INTERFACES(berry::IPreferencePage)
56 void Init(berry::IWorkbench::Pointer workbench)
override;
58 void CreateQtControl(QWidget* widget)
override;
60 QWidget* GetQtControl()
const override;
63 virtual bool PerformOk()
override;
66 virtual void PerformCancel()
override;
69 virtual void Update()
override;
73 void UpdateSpinBoxes();
81 QComboBox* m_ResliceInterpolation;
82 QComboBox* m_TextureInterpolation;
83 QDoubleSpinBox* m_LowestValueOpacity;
84 QDoubleSpinBox* m_HighestValueOpacity;
85 QDoubleSpinBox* m_BinaryOpacity;
86 QRadioButton* m_UseMidasInitialisationRadioButton;
87 QRadioButton* m_UseLevelWindowRadioButton;
88 QRadioButton* m_UseImageDataRadioButton;
89 QDoubleSpinBox* m_PercentageOfDataRangeDoubleSpinBox;
90 QRadioButton* m_UseSetRange;
91 QSpinBox* m_RangeLowerBound;
92 QSpinBox* m_RangeUpperBound;
95 berry::IPreferences::Pointer m_PreferencesNode;
Preferences page for this plugin, providing application wide defaults.
Definition: niftkBaseApplicationPreferencePage.h:38
static const QString IMAGE_RESLICE_INTERPOLATION
Definition: niftkBaseApplicationPreferencePage.h:49
QWidget * m_MainControl
Definition: niftkBaseApplicationPreferencePage.h:77
static const QString HIGHEST_VALUE_OPACITY
Definition: niftkBaseApplicationPreferencePage.h:52
static const QString BINARY_OPACITY_NAME
Definition: niftkBaseApplicationPreferencePage.h:53
static const QString LOWEST_VALUE_OPACITY
Definition: niftkBaseApplicationPreferencePage.h:51
static const double BINARY_OPACITY_VALUE
Definition: niftkBaseApplicationPreferencePage.h:54
static const QString IMAGE_TEXTURE_INTERPOLATION
Definition: niftkBaseApplicationPreferencePage.h:50
Definition: niftkExceptionObject.h:21