Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkDataStorageListInspector Class Reference

#include <QmitkDataStorageListInspector.h>

Inheritance diagram for QmitkDataStorageListInspector:
Collaboration diagram for QmitkDataStorageListInspector:

Public Member Functions

 QmitkDataStorageListInspector (QWidget *parent=nullptr)
 
QAbstractItemView * GetView () override
 
const QAbstractItemView * GetView () const override
 
void SetSelectionMode (SelectionMode mode) override
 
SelectionMode GetSelectionMode () const override
 
- Public Member Functions inherited from QmitkAbstractDataStorageInspector
 ~QmitkAbstractDataStorageInspector () override
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 Sets the data storage that will be used /monitored by the widget. More...
 
virtual void SetNodePredicate (const mitk::NodePredicateBase *nodePredicate)
 Sets the node predicate and updates the widget, according to the node predicate. More...
 
const mitk::NodePredicateBaseGetNodePredicate () const
 
NodeList GetSelectedNodes () const
 
bool GetSelectOnlyVisibleNodes () const
 

Protected Member Functions

void Initialize () override
 
void OnModelReset ()
 
- Protected Member Functions inherited from QmitkAbstractDataStorageInspector
 QmitkAbstractDataStorageInspector (QWidget *parent=nullptr)
 

Protected Attributes

QmitkAbstractDataStorageModelm_StorageModel
 
Ui_QmitkDataStorageListInspector m_Controls
 
QmitkSimpleTextOverlayWidgetm_Overlay
 
- Protected Attributes inherited from QmitkAbstractDataStorageInspector
mitk::WeakPointer< mitk::DataStoragem_DataStorage
 
mitk::NodePredicateBase::ConstPointer m_NodePredicate
 
std::unique_ptr< QmitkModelViewSelectionConnectorm_Connector
 

Additional Inherited Members

- Public Types inherited from QmitkAbstractDataStorageInspector
using NodeList = QList< mitk::DataNode::Pointer >
 
using SelectionMode = QAbstractItemView::SelectionMode
 
- Public Slots inherited from QmitkAbstractDataStorageInspector
void SetSelectOnlyVisibleNodes (bool selectOnlyVisibleNodes)
 Change the selection modus of the item view's selection model. More...
 
void SetCurrentSelection (NodeList selectedNodes)
 Transform a list of data nodes into a model selection and set this as a new selection of the selection model of the private member item view. More...
 
- Signals inherited from QmitkAbstractDataStorageInspector
void CurrentSelectionChanged (NodeList nodes)
 A signal that will be emitted if the selected node has changed. More...
 
- Protected Slots inherited from QmitkAbstractDataStorageInspector
void OnSelectionChanged (NodeList selectedNodes)
 

Detailed Description

Definition at line 26 of file QmitkDataStorageListInspector.h.

Constructor & Destructor Documentation

◆ QmitkDataStorageListInspector()

QmitkDataStorageListInspector::QmitkDataStorageListInspector ( QWidget *  parent = nullptr)

Member Function Documentation

◆ GetSelectionMode()

SelectionMode QmitkDataStorageListInspector::GetSelectionMode ( ) const
overridevirtual

◆ GetView() [1/2]

const QAbstractItemView* QmitkDataStorageListInspector::GetView ( ) const
overridevirtual

◆ GetView() [2/2]

QAbstractItemView* QmitkDataStorageListInspector::GetView ( )
overridevirtual

Returns an pointer to the view that is used in the inspector to show the content.

Implements QmitkAbstractDataStorageInspector.

◆ Initialize()

void QmitkDataStorageListInspector::Initialize ( )
overrideprotectedvirtual

Helper function is called if data storage or predicate is changed to (re) initialize the widget correctly. Implement the function in derived classes.

Implements QmitkAbstractDataStorageInspector.

◆ OnModelReset()

void QmitkDataStorageListInspector::OnModelReset ( )
protected

◆ SetSelectionMode()

void QmitkDataStorageListInspector::SetSelectionMode ( SelectionMode  mode)
overridevirtual

Sets the selection mode of the inspector.

Implements QmitkAbstractDataStorageInspector.

Member Data Documentation

◆ m_Controls

Ui_QmitkDataStorageListInspector QmitkDataStorageListInspector::m_Controls
protected

Definition at line 44 of file QmitkDataStorageListInspector.h.

◆ m_Overlay

QmitkSimpleTextOverlayWidget* QmitkDataStorageListInspector::m_Overlay
protected

Definition at line 45 of file QmitkDataStorageListInspector.h.

◆ m_StorageModel

QmitkAbstractDataStorageModel* QmitkDataStorageListInspector::m_StorageModel
protected

Definition at line 43 of file QmitkDataStorageListInspector.h.


The documentation for this class was generated from the following file: