|
mkRPG
|
The CellTypeListModel class presents the action's receivers as a Qt Model-View framework's list model. More...
#include <itemmodels.h>
Public Member Functions | |
| ReceiverListModel (QObject *parent=nullptr) | |
| void | setAction (Action *action) |
| int | rowCount (const QModelIndex &parent) const Q_DECL_OVERRIDE |
| QVariant | data (const QModelIndex &index, int role) const Q_DECL_OVERRIDE |
| Qt::ItemFlags | flags (const QModelIndex &index) const Q_DECL_OVERRIDE |
| bool | removeRows (int row, int count, const QModelIndex &parent) Q_DECL_OVERRIDE |
| void | addReceiver (GameObject *rcv, const QString &order) |
| QPair< GameObject *, QString > | receiver (int row) |
The CellTypeListModel class presents the action's receivers as a Qt Model-View framework's list model.
1.7.6.1