|
| TableModel (int nRows, int nColumns, QObject *pobj=0) |
|
QVariant | data (const QModelIndex &index, int nRole) const |
|
bool | setData (const QModelIndex &index, const QVariant &value, int nRole) |
|
int | rowCount (const QModelIndex &) const |
|
int | columnCount (const QModelIndex &) const |
|
Qt::ItemFlags | flags (const QModelIndex &index) const |
|
Definition at line 14 of file main.cpp.
◆ TableModel()
TableModel::TableModel |
( |
int |
nRows, |
|
|
int |
nColumns, |
|
|
QObject * |
pobj = 0 |
|
) |
| |
|
inline |
◆ columnCount()
int TableModel::columnCount |
( |
const QModelIndex & |
| ) |
const |
|
inline |
◆ data()
QVariant TableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
nRole |
|
) |
| const |
|
inline |
◆ flags()
Qt::ItemFlags TableModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
inline |
◆ rowCount()
int TableModel::rowCount |
( |
const QModelIndex & |
| ) |
const |
|
inline |
◆ setData()
bool TableModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
nRole |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: