![]() |
stec-platform
|
The ResidentAbstractTableModel class. More...
#include <residentabstracttablemodel.h>
Public Slots | |
void | slot_databaseChanged () |
void | slot_newDbx (QList< QString > headers, QMap< QString, QList< QVariant > > dbx) |
Signals | |
void | signal_save (QList< QString > headers, QMap< QString, QList< QVariant > > dbx) |
Public Member Functions | |
ResidentAbstractTableModel (Resident *rdb, QObject *parent=nullptr) | |
ResidentAbstractTableModel (QList< QString > headers, QObject *parent=nullptr) | |
ResidentAbstractTableModel (QObject *parent=nullptr) | |
virtual void | setDataBase (Resident *rdb) |
QVariant | data (const QModelIndex &index, int role) const |
int | columnCount (const QModelIndex &parent) const |
int | rowCount (const QModelIndex &parent) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
virtual bool | removeRows (int position, int rows, const QModelIndex &index) |
virtual bool | insertRows (int position, int rows, const QModelIndex &index) |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role) |
void | save (void) |
The ResidentAbstractTableModel class.