Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkDataStorageFavoriteNodesInspector Class Reference

#include <QmitkDataStorageFavoriteNodesInspector.h>

Inheritance diagram for QmitkDataStorageFavoriteNodesInspector:
Collaboration diagram for QmitkDataStorageFavoriteNodesInspector:

Public Member Functions

 QmitkDataStorageFavoriteNodesInspector (QWidget *parent=nullptr)
 
void SetNodePredicate (const mitk::NodePredicateBase *nodePredicate) override
 Overrides the corresponding function of QmitkAbstractDataStorageInspector: The custom favorite nodes predicate is added to the parameter predicate which results in a combined node predicate that always filters nodes according to their favorite-property-state. More...
 
- Public Member Functions inherited from QmitkDataStorageListInspector
 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...
 
const mitk::NodePredicateBaseGetNodePredicate () const
 
NodeList GetSelectedNodes () const
 
bool GetSelectOnlyVisibleNodes () const
 

Static Public Member Functions

constexpr static const char * INSPECTOR_ID ()
 

Protected Slots

void OnFavoriteNodesButtonClicked ()
 
- Protected Slots inherited from QmitkAbstractDataStorageInspector
void OnSelectionChanged (NodeList selectedNodes)
 

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 Member Functions inherited from QmitkDataStorageListInspector
void Initialize () override
 
void OnModelReset ()
 
- Protected Member Functions inherited from QmitkAbstractDataStorageInspector
 QmitkAbstractDataStorageInspector (QWidget *parent=nullptr)
 
- Protected Attributes inherited from QmitkDataStorageListInspector
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
 

Detailed Description

Definition at line 26 of file QmitkDataStorageFavoriteNodesInspector.h.

Constructor & Destructor Documentation

◆ QmitkDataStorageFavoriteNodesInspector()

QmitkDataStorageFavoriteNodesInspector::QmitkDataStorageFavoriteNodesInspector ( QWidget *  parent = nullptr)

Member Function Documentation

◆ INSPECTOR_ID()

constexpr static const char* QmitkDataStorageFavoriteNodesInspector::INSPECTOR_ID ( )
inlinestaticconstexpr

Definition at line 44 of file QmitkDataStorageFavoriteNodesInspector.h.

◆ OnFavoriteNodesButtonClicked

void QmitkDataStorageFavoriteNodesInspector::OnFavoriteNodesButtonClicked ( )
protectedslot

◆ SetNodePredicate()

void QmitkDataStorageFavoriteNodesInspector::SetNodePredicate ( const mitk::NodePredicateBase nodePredicate)
overridevirtual

Overrides the corresponding function of QmitkAbstractDataStorageInspector: The custom favorite nodes predicate is added to the parameter predicate which results in a combined node predicate that always filters nodes according to their favorite-property-state.

Parameters
nodePredicateA pointer to a node predicate.

Reimplemented from QmitkAbstractDataStorageInspector.


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