mkRPG
Public Member Functions
FlagTreeItemModel Class Reference

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

#include <attrtreeitemmodel.h>

Public Member Functions

 FlagTreeItemModel (QObject *parent=0)
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 addFlag (const QString &name)
void sortAttr (const QModelIndex &par)

Detailed Description

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

See also:
ParamTreeItemModel, EventTreeItemModel, OrderTreeItemModel

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