The 'QmitkDataStorageLayerStackModel' is a customized table 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 customized qt table model. This model can be used in conjunction with a 'QmitkDataStorageSelectionConnector'.
More...
#include <QmitkDataStorageLayerStackModel.h>
The 'QmitkDataStorageLayerStackModel' is a customized table 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 customized qt table model. This model can be used in conjunction with a 'QmitkDataStorageSelectionConnector'.
Definition at line 31 of file QmitkDataStorageLayerStackModel.h.
◆ QmitkDataStorageLayerStackModel()
QmitkDataStorageLayerStackModel::QmitkDataStorageLayerStackModel |
( |
QObject * |
parent = nullptr | ) |
|
◆ columnCount()
int QmitkDataStorageLayerStackModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant QmitkDataStorageLayerStackModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ DataStorageChanged()
void QmitkDataStorageLayerStackModel::DataStorageChanged |
( |
| ) |
|
|
overridevirtual |
◆ flags()
Qt::ItemFlags QmitkDataStorageLayerStackModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ GetCurrentRenderer()
◆ headerData()
QVariant QmitkDataStorageLayerStackModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ index()
QModelIndex QmitkDataStorageLayerStackModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
overridden functions from QAbstractItemModel
◆ NodeAdded()
void QmitkDataStorageLayerStackModel::NodeAdded |
( |
const mitk::DataNode * |
node | ) |
|
|
overridevirtual |
◆ NodeChanged()
void QmitkDataStorageLayerStackModel::NodeChanged |
( |
const mitk::DataNode * |
node | ) |
|
|
overridevirtual |
◆ NodePredicateChanged()
void QmitkDataStorageLayerStackModel::NodePredicateChanged |
( |
| ) |
|
|
overridevirtual |
◆ NodeRemoved()
void QmitkDataStorageLayerStackModel::NodeRemoved |
( |
const mitk::DataNode * |
node | ) |
|
|
overridevirtual |
◆ parent()
QModelIndex QmitkDataStorageLayerStackModel::parent |
( |
const QModelIndex & |
child | ) |
const |
◆ rowCount()
int QmitkDataStorageLayerStackModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ SetCurrentRenderer()
void QmitkDataStorageLayerStackModel::SetCurrentRenderer |
( |
const std::string & |
rendererName | ) |
|
◆ setData()
bool QmitkDataStorageLayerStackModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
override |
The documentation for this class was generated from the following file: