13 #ifndef QMITK_NODE_SELECTION_DIALOG_H 14 #define QMITK_NODE_SELECTION_DIALOG_H 18 #include "ui_QmitkNodeSelectionDialog.h" 28 #include <QPushButton> 62 using NodeList = QList<mitk::DataNode::Pointer>;
78 bool GetSelectOnlyVisibleNodes()
const;
97 void CurrentSelectionChanged(
NodeList nodes);
107 void SetSelectOnlyVisibleNodes(
bool selectOnlyVisibleNodes);
115 void SetCurrentSelection(
NodeList selectedNodes);
119 void OnSelectionChanged(
NodeList selectedNodes);
120 void OnFavoriteNodesButtonClicked();
123 void OnDoubleClicked(
const QModelIndex& index);
126 void SetErrorText(
const std::string& checkResponse);
146 #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::WeakPointer< mitk::DataStorage > m_DataStorage
bool m_SelectOnlyVisibleNodes
The common interface for all DataStorage inspector providers.
std::vector< QmitkAbstractDataStorageInspector * > PanelVectorType
A customized QDialog that displays different data storage inspectors and allows to set and get a curr...
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.
MITK_QT_APP QList< mitk::DataNode::Pointer > GetSelectedNodes(berry::IWorkbenchPartSite::Pointer workbenchPartSite)
std::function< std::string(const NodeList &)> SelectionCheckFunctionType
Helper function that is used to check the given selection for consistency. Returning an empty string ...