|
mkRPG
|
The GameTreeItem define a convienent tree item for the ParamTreeItemModel and FlagTreeItemModel classes. More...
#include <attrtreeitemmodel.h>
Public Member Functions | |
| GameTreeItem (GameObject &obj) | |
| GameTreeItem (InheritableObject &typ) | |
| Qt::ItemFlags | flags (int col, bool readOnly=false) const |
| QVariant | data (int col, int role) const |
| GameTreeItem * | parent () const |
| GameTreeItem * | child (int row) const |
| int | rowCount () const |
| int | row () const |
| bool | setData (int col, QVariant value, int role) |
| void | addAttr (const QString &attr) |
| void | sort () |
| void | setAttributeRowNb (int r) |
| bool | isAttr (const QString &a) const |
The GameTreeItem define a convienent tree item for the ParamTreeItemModel and FlagTreeItemModel classes.
It ensures items to have a parent, and provides abstract item (not related to object, parameter or flag).
1.7.6.1