 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
22 #ifndef CTKQTRESOURCESTREEMODEL_H
23 #define CTKQTRESOURCESTREEMODEL_H
25 #include <QAbstractItemModel>
28 class ctkQtResourceTreeItem;
37 QVariant
data(
const QModelIndex &
index,
int role)
const;
39 QVariant
headerData(
int section, Qt::Orientation orientation,
40 int role = Qt::DisplayRole)
const;
41 QModelIndex
index(
int row,
int column,
42 const QModelIndex &
parent = QModelIndex())
const;
49 ctkQtResourceTreeItem* rootItem;
53 #endif // CTKQTRESOURCESTREEMODEL_H
QVariant data(const QModelIndex &index, int role) const
~ctkQtResourcesTreeModel()
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
ctkQtResourcesTreeModel(QObject *parent=0)
QModelIndex parent(const QModelIndex &index) const
Qt::ItemFlags flags(const QModelIndex &index) const
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
int columnCount(const QModelIndex &parent=QModelIndex()) const