13 #ifndef QmitkSegWithPreviewToolGUIBase_h
14 #define QmitkSegWithPreviewToolGUIBase_h
38 itkGetConstMacro(Mode2D,
bool);
44 void OnAcceptPreview();
65 virtual void InitializeUI(QBoxLayout* mainLayout);
77 virtual void EnableWidgets(
bool enabled);
79 template <
class TTool>
82 return dynamic_cast<TTool*
>(m_Tool.GetPointer());
88 QPushButton* GetConfirmSegmentationButton()
const;
91 QCheckBox* m_CheckIgnoreLocks =
nullptr;
92 QCheckBox* m_CheckMerge =
nullptr;
93 QCheckBox* m_CheckProcessAll =
nullptr;
94 QPushButton* m_ConfirmSegBtn =
nullptr;
95 QBoxLayout* m_MainLayout =
nullptr;
99 bool m_EnableProcessingOfAllTimeSteps;