The 'QmitkDataStorageDefaultListModel' is a basic list model, derived from the 'QmitkAbstractDataStorageModel'. It provides functions to accept a data storage and a node predicate in order to customize the model data nodes. Furthermore it overrides the functions of 'QAbstractItemModel' to create a simple qt list model. This model can be used in conjunction with a 'QmitkDataStorageSelectionConnector'.
More...
#include <QmitkDataStorageDefaultListModel.h>
The 'QmitkDataStorageDefaultListModel' is a basic list model, derived from the 'QmitkAbstractDataStorageModel'. It provides functions to accept a data storage and a node predicate in order to customize the model data nodes. Furthermore it overrides the functions of 'QAbstractItemModel' to create a simple qt list model. This model can be used in conjunction with a 'QmitkDataStorageSelectionConnector'.
Definition at line 27 of file QmitkDataStorageDefaultListModel.h.
◆ QmitkDataStorageDefaultListModel()
QmitkDataStorageDefaultListModel::QmitkDataStorageDefaultListModel |
( |
QObject * |
parent | ) |
|
◆ columnCount()
int QmitkDataStorageDefaultListModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant QmitkDataStorageDefaultListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ DataStorageChanged()
void QmitkDataStorageDefaultListModel::DataStorageChanged |
( |
| ) |
|
|
overridevirtual |
◆ flags()
Qt::ItemFlags QmitkDataStorageDefaultListModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ headerData()
QVariant QmitkDataStorageDefaultListModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ index()
QModelIndex QmitkDataStorageDefaultListModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
override |
◆ NodeAdded()
void QmitkDataStorageDefaultListModel::NodeAdded |
( |
const mitk::DataNode * |
node | ) |
|
|
overridevirtual |
◆ NodeChanged()
void QmitkDataStorageDefaultListModel::NodeChanged |
( |
const mitk::DataNode * |
node | ) |
|
|
overridevirtual |
◆ NodePredicateChanged()
void QmitkDataStorageDefaultListModel::NodePredicateChanged |
( |
| ) |
|
|
overridevirtual |
◆ NodeRemoved()
void QmitkDataStorageDefaultListModel::NodeRemoved |
( |
const mitk::DataNode * |
node | ) |
|
|
overridevirtual |
◆ parent()
QModelIndex QmitkDataStorageDefaultListModel::parent |
( |
const QModelIndex & |
child | ) |
const |
|
override |
◆ rowCount()
int QmitkDataStorageDefaultListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ UpdateModelData()
virtual void QmitkDataStorageDefaultListModel::UpdateModelData |
( |
| ) |
|
|
protectedvirtual |
◆ m_DataNodes
The documentation for this class was generated from the following file: