|
mkRPG
|
The EventTreeItemModel class presents the events of an object using the QAbstractItemModel interface. More...
#include <attrtreeitemmodel.h>
Public Member Functions | |
| EventTreeItemModel (QObject *parent=0, bool readOnly=false) | |
| void | setObject (GameObject *o) |
| int | columnCount (const QModelIndex &parent) const |
| int | rowCount (const QModelIndex &parent) const |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| QVariant | data (const QModelIndex &index, int role) const |
| QModelIndex | index (int row, int column, const QModelIndex &parent) const |
| QModelIndex | parent (const QModelIndex &child) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) |
| void | addEvent (const QString &name) |
| void | sortAttr (const QModelIndex &par) |
The EventTreeItemModel class presents the events of an object using the QAbstractItemModel interface.
1.7.6.1