13 #ifndef QMITK_NODE_SELECTION_DIALOG_H 14 #define QMITK_NODE_SELECTION_DIALOG_H 25 #include "ui_QmitkNodeSelectionDialog.h" 28 #include <QPushButton> 57 using NodeList = QList<mitk::DataNode::Pointer>;
73 bool GetSelectOnlyVisibleNodes()
const;
85 void CurrentSelectionChanged(
NodeList nodes);
99 void SetSelectOnlyVisibleNodes(
bool selectOnlyVisibleNodes);
113 void SetCurrentSelection(
NodeList selectedNodes);
117 void OnSelectionChanged(
NodeList selectedNodes);
118 void OnFavoriteNodesButtonClicked();
123 void SetErrorText(
const std::string& checkResponse);
142 #endif // QMITK_NODE_SELECTION_DIALOG_H
QList< mitk::DataNode::Pointer > NodeList
Data management class that handles 'was created by' relations.
mitk::NodePredicateBase::ConstPointer m_NodePredicate
QAbstractItemView::SelectionMode SelectionMode
MITK_QT_APP QList< mitk::DataNode::Pointer > GetSelectedNodes(berry::IWorkbenchPartSite::Pointer workbenchPartSite)
mitk::WeakPointer< mitk::DataStorage > m_DataStorage
bool m_SelectOnlyVisibleNodes
The common interface for all DataStorage inspector providers.
std::vector< QmitkAbstractDataStorageInspector * > PanelVectorType
Widget that allows to show and edit the content of an mitk::IsoDoseLevel instance.
SelectionCheckFunctionType m_CheckFunction
QPushButton * m_FavoriteNodesButton
Ui_QmitkNodeSelectionDialog m_Controls
SelectionMode m_SelectionMode
std::string InspectorIDType
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
std::function< std::string(const NodeList &)> SelectionCheckFunctionType
Helper function that is used to check the given selection for consistency. Returning an empty string ...