Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
#include <QmitkPatientTableInspector.h>
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::NodePredicateBase * | GetNodePredicate () 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::DataStorage > | m_DataStorage |
mitk::NodePredicateBase::ConstPointer | m_NodePredicate |
std::unique_ptr< QmitkModelViewSelectionConnector > | m_Connector |
Definition at line 37 of file QmitkPatientTableInspector.h.
QmitkPatientTableInspector::QmitkPatientTableInspector | ( | QWidget * | parent = nullptr | ) |
|
signal |
|
overridevirtual |
Implements QmitkAbstractDataStorageInspector.
QItemSelectionModel* QmitkPatientTableInspector::GetSelectionModel | ( | ) |
|
overridevirtual |
Implements QmitkAbstractDataStorageInspector.
|
overridevirtual |
Returns an pointer to the view that is used in the inspector to show the content.
Implements QmitkAbstractDataStorageInspector.
|
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.
|
signal |
|
signal |
|
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.
caseID | A case ID as string |
Implements QmitkAbstractSemanticRelationsStorageInspector.
|
overridevirtual |
Extends the abstract base class to allow setting the current lesion. The function sets the lesion in the storage model.
lesion | The selected lesion |
Implements QmitkAbstractSemanticRelationsStorageInspector.
|
overridevirtual |
Sets the selection mode of the inspector.
Implements QmitkAbstractDataStorageInspector.