|
Item * | addItem (Item *const parentItem=nullptr, const int rowNumber=-1) |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QAbstractItemModel: More...
|
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
|
Item * | indexToItem (const QModelIndex &itemIndex) const |
|
QModelIndex | itemToIndex (const Item *const item) const |
|
QModelIndex | parent (const QModelIndex &index) const override |
|
Item * | rootItem () const |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
|
bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role) override |
|
| SimpleTreeModel (const int columnCount, QObject *const parent=nullptr) |
|
| ~SimpleTreeModel () override |
|
◆ SimpleTreeModel()
Digikam::SimpleTreeModel::SimpleTreeModel |
( |
const int |
columnCount, |
|
|
QObject *const |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~SimpleTreeModel()
Digikam::SimpleTreeModel::~SimpleTreeModel |
( |
| ) |
|
|
override |
◆ addItem()
◆ columnCount()
int Digikam::SimpleTreeModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant Digikam::SimpleTreeModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ flags()
Qt::ItemFlags Digikam::SimpleTreeModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ headerData()
QVariant Digikam::SimpleTreeModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ index()
QModelIndex Digikam::SimpleTreeModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
override |
◆ indexToItem()
◆ itemToIndex()
QModelIndex Digikam::SimpleTreeModel::itemToIndex |
( |
const Item *const |
item | ) |
const |
◆ parent()
QModelIndex Digikam::SimpleTreeModel::parent |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ rootItem()
◆ rowCount()
int Digikam::SimpleTreeModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
bool Digikam::SimpleTreeModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
override |
◆ setHeaderData()
bool Digikam::SimpleTreeModel::setHeaderData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: