13 #ifndef QmitkDataSelectionWidget_h
14 #define QmitkDataSelectionWidget_h
18 #include <ui_QmitkDataSelectionWidgetControls.h>
27 class NodePredicateBase;
44 SegmentationOrSurfacePredicate
50 unsigned int AddDataSelection(Predicate predicate);
52 unsigned int AddDataSelection(
const QString &labelText,
const QString &info,
const QString &popupTitel,
const QString &popupHint, Predicate predicate);
53 unsigned int AddDataSelection(
const QString &labelText,
const QString &info,
const QString &popupTitel,
const QString &popupHint,
mitk::NodePredicateBase* predicate =
nullptr);
58 void SetPredicate(
unsigned int index, Predicate predicate);
61 void SetHelpText(
const QString& text);
64 void SelectionChanged(
unsigned int index,
const mitk::DataNode* selection);
67 void OnSelectionChanged(QList<mitk::DataNode::Pointer> selection);
70 Ui::QmitkDataSelectionWidgetControls m_Controls;
72 std::vector<QmitkSingleNodeSelectionWidget*> m_NodeSelectionWidgets;