|
mkRPG
|
The ParamTreeItemModel class presents the parameters of an object using the QAbstractItemModel interface. More...
#include <attrtreeitemmodel.h>
Public Member Functions | |
| ParamTreeItemModel (QObject *parent=0) | |
| void | setObject (GameObject *o) |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) 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=QModelIndex()) 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 | addParam (const QString &name) |
| void | sortAttr (const QModelIndex &par) |
The ParamTreeItemModel class presents the parameters of an object using the QAbstractItemModel interface.
1.7.6.1