#include "flatitemsmodelbase.h"
|
| | FlatItemsModelBase (QStringList headers, QObject *=nullptr) |
| |
| int | columnCount (const QModelIndex &index={}) const override |
| |
| QVariant | data (const QModelIndex &index, int role) const override |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| |
| QModelIndex | index (int row, int col, const QModelIndex &parent={}) const override |
| |
| QModelIndex | parent (const QModelIndex &) const override |
| |
| int | rowCount (const QModelIndex &parent={}) const override |
| |
| void | SetGlobalData (const QVariant &data, int role) |
| |
|
| static constexpr auto | DataRole = Qt::UserRole |
| |
|
| virtual int | GetItemsCount () const =0 |
| |
| virtual QVariant | GetData (int row, int col, int role) const =0 |
| |
Definition at line 16 of file flatitemsmodelbase.h.
◆ FlatItemsModelBase()
| LC::Util::FlatItemsModelBase::FlatItemsModelBase |
( |
QStringList |
headers, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ columnCount()
| int LC::Util::FlatItemsModelBase::columnCount |
( |
const QModelIndex & |
index = {} | ) |
const |
|
override |
◆ data()
| QVariant LC::Util::FlatItemsModelBase::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ GetData()
| virtual QVariant LC::Util::FlatItemsModelBase::GetData |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
role |
|
) |
| const |
|
protectedpure virtual |
◆ GetItemsCount()
| virtual int LC::Util::FlatItemsModelBase::GetItemsCount |
( |
| ) |
const |
|
protectedpure virtual |
◆ headerData()
| QVariant LC::Util::FlatItemsModelBase::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ index()
| QModelIndex LC::Util::FlatItemsModelBase::index |
( |
int |
row, |
|
|
int |
col, |
|
|
const QModelIndex & |
parent = {} |
|
) |
| const |
|
override |
◆ parent()
| QModelIndex LC::Util::FlatItemsModelBase::parent |
( |
const QModelIndex & |
| ) |
const |
|
override |
◆ rowCount()
| int LC::Util::FlatItemsModelBase::rowCount |
( |
const QModelIndex & |
parent = {} | ) |
const |
|
override |
◆ SetGlobalData()
| void LC::Util::FlatItemsModelBase::SetGlobalData |
( |
const QVariant & |
data, |
|
|
int |
role |
|
) |
| |
◆ DataRole
| constexpr auto LC::Util::FlatItemsModelBase::DataRole = Qt::UserRole |
|
static |
The documentation for this class was generated from the following files: