QAbstractTableModel descendent that allows to view data in a JKQTPDatastore.
More...
#include <jkqtpdatastorage.h>
|
| JKQTPDatastoreModel (JKQTPDatastore *datastore, QObject *parent=nullptr) |
|
virtual | ~JKQTPDatastoreModel () override |
|
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
virtual QVariant | data (const QModelIndex &index, int role) const override |
|
virtual Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
QAbstractTableModel descendent that allows to view data in a JKQTPDatastore.
- See also
- JKQTPDatastore
◆ JKQTPDatastoreModel()
JKQTPDatastoreModel::JKQTPDatastoreModel |
( |
JKQTPDatastore * |
datastore, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
◆ ~JKQTPDatastoreModel()
virtual JKQTPDatastoreModel::~JKQTPDatastoreModel |
( |
| ) |
|
|
overridevirtual |
◆ columnCount()
virtual int JKQTPDatastoreModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridevirtual |
◆ data()
virtual QVariant JKQTPDatastoreModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
overridevirtual |
◆ flags()
virtual Qt::ItemFlags JKQTPDatastoreModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
overridevirtual |
◆ headerData()
virtual QVariant JKQTPDatastoreModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
overridevirtual |
◆ reloadModel
void JKQTPDatastoreModel::reloadModel |
( |
| ) |
|
|
slot |
◆ rowCount()
virtual int JKQTPDatastoreModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridevirtual |
◆ datastore
The documentation for this class was generated from the following file: