17 , m_NodePredicate(nullptr)
19 m_Connector = std::make_unique<QmitkModelViewSelectionConnector>();
68 m_Connector->SetSelectOnlyVisibleNodes(selectOnlyVisibleNodes);
~QmitkAbstractDataStorageInspector() override
Data management class that handles 'was created by' relations.
NodeList GetSelectedNodes() const
QList< mitk::DataNode::Pointer > NodeList
const mitk::NodePredicateBase * GetNodePredicate() const
mitk::NodePredicateBase::ConstPointer m_NodePredicate
mitk::WeakPointer< mitk::DataStorage > m_DataStorage
virtual void SetNodePredicate(const mitk::NodePredicateBase *nodePredicate)
Sets the node predicate and updates the widget, according to the node predicate.
void CurrentSelectionChanged(NodeList nodes)
A signal that will be emitted if the selected node has changed.
virtual void Initialize()=0
void SetCurrentSelection(NodeList selectedNodes)
Transform a list of data nodes into a model selection and set this as a new selection of the selectio...
bool IsExpired() const noexcept
void SetSelectOnlyVisibleNodes(bool selectOnlyVisibleNodes)
Change the selection modus of the item view's selection model.
void CurrentSelectionChanged(QList< mitk::DataNode::Pointer > nodes)
A signal that will be emitted by the 'ChangeModelSelection'-function. This happens if the selection m...
void SetDataStorage(mitk::DataStorage *dataStorage)
Sets the data storage that will be used /monitored by the widget.
QmitkAbstractDataStorageInspector(QWidget *parent=nullptr)
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
std::unique_ptr< QmitkModelViewSelectionConnector > m_Connector
void OnSelectionChanged(NodeList selectedNodes)
bool GetSelectOnlyVisibleNodes() const