mkRPG
Data Structures | Enumerations
src/editor/Game/ItemModels/attrtreeitemmodel.h File Reference

Definition of the model presentation class for parameter and flags as a tree. More...

#include <QAbstractItemModel>
#include "../game.h"
#include <algorithm>

Go to the source code of this file.

Data Structures

class  GameTreeItem< type >
 The GameTreeItem define a convienent tree item for the ParamTreeItemModel and FlagTreeItemModel classes. More...
class  ParamTreeItemModel
 The ParamTreeItemModel class presents the parameters of an object using the QAbstractItemModel interface. More...
class  FlagTreeItemModel
 The ParamTreeItemModel class presents the flags of an object using the QAbstractItemModel interface. More...
class  EventTreeItemModel
 The EventTreeItemModel class presents the events of an object using the QAbstractItemModel interface. More...
class  OrderTreeItemModel
 The OrderTreeItemModel class presents the orders of an object using the QAbstractItemModel interface. More...

Enumerations

enum  ItemType { ParamItem, FlagItem, EventItem, OrderItem }
 The ItemType enum describes the several types of items used in the template class GameTreeItem. More...

Detailed Description

Definition of the model presentation class for parameter and flags as a tree.

Warning:
Do not try to factorized the ParamTreeItemModel and FlagTreeItemModel in a single template class, templates are not supported by Qt Meta-Object Compiler.

Enumeration Type Documentation

enum ItemType

The ItemType enum describes the several types of items used in the template class GameTreeItem.

Enumerator:
ParamItem 

Integer parameter

FlagItem 

Flag

EventItem 

Event

OrderItem 

Order

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines