Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <QmitkDataStorageSelectionHistoryInspector.h>
Public Member Functions | |
QmitkDataStorageSelectionHistoryInspector (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::NodePredicateBase * | GetNodePredicate () const |
NodeList | GetSelectedNodes () const |
bool | GetSelectOnlyVisibleNodes () const |
Static Public Member Functions | |
static void | AddNodeToHistory (mitk::DataNode *node) |
static void | ResetHistory () |
constexpr static const char * | INSPECTOR_ID () |
Protected Member Functions | |
void | Initialize () override |
Protected Member Functions inherited from QmitkAbstractDataStorageInspector | |
QmitkAbstractDataStorageInspector (QWidget *parent=nullptr) | |
Protected Attributes | |
QmitkAbstractDataStorageModel * | m_StorageModel |
Ui_QmitkDataStorageSelectionHistoryInspector | m_Controls |
QmitkSimpleTextOverlayWidget * | m_Overlay |
Protected Attributes inherited from QmitkAbstractDataStorageInspector | |
mitk::WeakPointer< mitk::DataStorage > | m_DataStorage |
mitk::NodePredicateBase::ConstPointer | m_NodePredicate |
std::unique_ptr< QmitkModelViewSelectionConnector > | m_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) |
Definition at line 27 of file QmitkDataStorageSelectionHistoryInspector.h.
QmitkDataStorageSelectionHistoryInspector::QmitkDataStorageSelectionHistoryInspector | ( | QWidget * | parent = nullptr | ) |
|
static |
|
overridevirtual |
Implements QmitkAbstractDataStorageInspector.
|
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.
|
inlinestaticconstexpr |
Definition at line 43 of file QmitkDataStorageSelectionHistoryInspector.h.
|
static |
|
overridevirtual |
Sets the selection mode of the inspector.
Implements QmitkAbstractDataStorageInspector.
|
protected |
Definition at line 52 of file QmitkDataStorageSelectionHistoryInspector.h.
|
protected |
Definition at line 53 of file QmitkDataStorageSelectionHistoryInspector.h.
|
protected |
Definition at line 51 of file QmitkDataStorageSelectionHistoryInspector.h.