|
mkRPG
|
The CellTypeListModel class presents the "actions" Action as a Qt Model-View framework's list model. More...
#include <itemmodels.h>
Public Member Functions | |
| ActionsListModel (QObject *parent=nullptr) | |
| ActionsListModel (Game *g, QObject *parent=nullptr) | |
| void | setGame (Game *g) |
| int | rowCount (const QModelIndex &parent) const Q_DECL_OVERRIDE |
| Qt::ItemFlags | flags (const QModelIndex &index) const Q_DECL_OVERRIDE |
| QVariant | data (const QModelIndex &index, int role) const Q_DECL_OVERRIDE |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) Q_DECL_OVERRIDE |
| void | addAction (const QString &action) |
The CellTypeListModel class presents the "actions" Action as a Qt Model-View framework's list model.
1.7.6.1