mkRPG
Public Member Functions
ParamTreeItemModel Class Reference

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)

Detailed Description

The ParamTreeItemModel class presents the parameters of an object using the QAbstractItemModel interface.

See also:
FlagTreeItemModel, EventTreeItemModel, OrderTreeItemModel

The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines