Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef QmitkNodeSelectionDialog_h
14 #define QmitkNodeSelectionDialog_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);
QAbstractItemView::SelectionMode SelectionMode
bool m_SelectOnlyVisibleNodes
SelectionMode m_SelectionMode
QList< mitk::DataNode::Pointer > NodeList
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
SelectionCheckFunctionType m_CheckFunction
QPushButton * m_FavoriteNodesButton
std::vector< QmitkAbstractDataStorageInspector * > PanelVectorType
Ui_QmitkNodeSelectionDialog m_Controls
A customized QDialog that displays different data storage inspectors and allows to set and get a curr...
mitk::NodePredicateBase::ConstPointer m_NodePredicate
Data management class that handles 'was created by' relations.
mitk::WeakPointer< mitk::DataStorage > m_DataStorage
std::string InspectorIDType
The common interface for all DataStorage inspector providers.
std::function< std::string(const NodeList &)> SelectionCheckFunctionType
Helper function that is used to check the given selection for consistency. Returning an empty string ...
MITK_QT_APP QList< mitk::DataNode::Pointer > GetSelectedNodes(berry::IWorkbenchPartSite::Pointer workbenchPartSite)