Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkPatientTableInspector Class Reference

#include <QmitkPatientTableInspector.h>

Inheritance diagram for QmitkPatientTableInspector:
Collaboration diagram for QmitkPatientTableInspector:

Signals

void DataNodeDoubleClicked (const mitk::DataNode *)
 
void OnContextMenuRequested (const QPoint &)
 
void OnNodeRemoved (const mitk::DataNode *)
 
- Signals inherited from QmitkAbstractDataStorageInspector
void CurrentSelectionChanged (NodeList nodes)
 A signal that will be emitted if the selected node has changed. More...
 

Public Member Functions

 QmitkPatientTableInspector (QWidget *parent=nullptr)
 
QAbstractItemView * GetView () override
 
const QAbstractItemView * GetView () const override
 
void SetSelectionMode (SelectionMode mode) override
 
SelectionMode GetSelectionMode () const override
 
void SetCaseID (const mitk::SemanticTypes::CaseID &caseID) override
 Extends the abstract base class to allow setting the current case ID which is needed to access the semantic relations storage. The function sets the case ID in the storage model. More...
 
void SetLesion (const mitk::SemanticTypes::Lesion &lesion) override
 Extends the abstract base class to allow setting the current lesion. The function sets the lesion in the storage model. More...
 
QItemSelectionModel * GetSelectionModel ()
 
- Public Member Functions inherited from QmitkAbstractSemanticRelationsStorageInspector
 ~QmitkAbstractSemanticRelationsStorageInspector () 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
 
- Protected Member Functions inherited from QmitkAbstractSemanticRelationsStorageInspector
 QmitkAbstractSemanticRelationsStorageInspector (QWidget *parent=nullptr)
 
- Protected Member Functions inherited from QmitkAbstractDataStorageInspector
 QmitkAbstractDataStorageInspector (QWidget *parent=nullptr)
 

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...
 
- Protected Slots inherited from QmitkAbstractDataStorageInspector
void OnSelectionChanged (NodeList selectedNodes)
 
- Protected Attributes inherited from QmitkAbstractDataStorageInspector
mitk::WeakPointer< mitk::DataStoragem_DataStorage
 
mitk::NodePredicateBase::ConstPointer m_NodePredicate
 
std::unique_ptr< QmitkModelViewSelectionConnectorm_Connector
 

Detailed Description

Definition at line 37 of file QmitkPatientTableInspector.h.

Constructor & Destructor Documentation

◆ QmitkPatientTableInspector()

QmitkPatientTableInspector::QmitkPatientTableInspector ( QWidget *  parent = nullptr)

Member Function Documentation

◆ DataNodeDoubleClicked

void QmitkPatientTableInspector::DataNodeDoubleClicked ( const mitk::DataNode )
signal

◆ GetSelectionMode()

SelectionMode QmitkPatientTableInspector::GetSelectionMode ( ) const
overridevirtual

◆ GetSelectionModel()

QItemSelectionModel* QmitkPatientTableInspector::GetSelectionModel ( )

◆ GetView() [1/2]

const QAbstractItemView* QmitkPatientTableInspector::GetView ( ) const
overridevirtual

◆ GetView() [2/2]

QAbstractItemView* QmitkPatientTableInspector::GetView ( )
overridevirtual

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

Implements QmitkAbstractDataStorageInspector.

◆ Initialize()

void QmitkPatientTableInspector::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.

◆ OnContextMenuRequested

void QmitkPatientTableInspector::OnContextMenuRequested ( const QPoint &  )
signal

◆ OnNodeRemoved

void QmitkPatientTableInspector::OnNodeRemoved ( const mitk::DataNode )
signal

◆ SetCaseID()

void QmitkPatientTableInspector::SetCaseID ( const mitk::SemanticTypes::CaseID caseID)
overridevirtual

Extends the abstract base class to allow setting the current case ID which is needed to access the semantic relations storage. The function sets the case ID in the storage model.

Parameters
caseIDA case ID as string

Implements QmitkAbstractSemanticRelationsStorageInspector.

◆ SetLesion()

void QmitkPatientTableInspector::SetLesion ( const mitk::SemanticTypes::Lesion lesion)
overridevirtual

Extends the abstract base class to allow setting the current lesion. The function sets the lesion in the storage model.

Parameters
lesionThe selected lesion

Implements QmitkAbstractSemanticRelationsStorageInspector.

◆ SetSelectionMode()

void QmitkPatientTableInspector::SetSelectionMode ( SelectionMode  mode)
overridevirtual

Sets the selection mode of the inspector.

Implements QmitkAbstractDataStorageInspector.


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