7 #ifndef QTOPENGL_LUA_STATETREE_MODEL_H
8 #define QTOPENGL_LUA_STATETREE_MODEL_H
11 class CQTOpenGLLuaStateTreeModel;
12 class CQTOpenGLLuaStateTreeVariableModel;
13 class CQTOpenGLLuaStateTreeFunctionModel;
14 class CQTOpenGLLuaStateTreeItem;
21 #include <QAbstractItemModel>
22 #include <QModelIndex>
37 bool b_remove_empty_tables,
38 QObject* pc_parent = 0);
42 virtual QVariant
data(
const QModelIndex& c_index,
45 virtual Qt::ItemFlags
flags(
const QModelIndex& c_index)
const;
47 virtual QModelIndex
index(
int n_row,
49 const QModelIndex& c_parent = QModelIndex())
const;
51 virtual QModelIndex
parent(
const QModelIndex& c_index)
const;
53 virtual int rowCount(
const QModelIndex& c_parent = QModelIndex())
const;
73 bool m_bRemoveEmptyTables;
87 bool b_remove_empty_tables,
88 QObject* pc_parent = 0);
93 Qt::Orientation e_orientation,
94 int n_role = Qt::DisplayRole)
const;
96 virtual int columnCount(
const QModelIndex& c_parent = QModelIndex())
const;
114 bool b_remove_empty_tables,
115 QObject* pc_parent = 0);
120 Qt::Orientation e_orientation,
121 int n_role = Qt::DisplayRole)
const;
123 virtual int columnCount(
const QModelIndex& c_parent = QModelIndex())
const;
The namespace containing all the ARGoS related code.
virtual int rowCount(const QModelIndex &c_parent=QModelIndex()) const
virtual ~CQTOpenGLLuaStateTreeModel()
virtual QVariant data(const QModelIndex &c_index, int n_role) const
void ProcessLuaState(lua_State *pt_state, CQTOpenGLLuaStateTreeItem *pc_item)
void SetLuaState(lua_State *pt_state)
CQTOpenGLLuaStateTreeModel(lua_State *pt_state, bool b_remove_empty_tables, QObject *pc_parent=0)
virtual bool IsTypeVisitable(lua_State *pt_state)=0
virtual QModelIndex parent(const QModelIndex &c_index) const
virtual QModelIndex index(int n_row, int n_column, const QModelIndex &c_parent=QModelIndex()) const
virtual Qt::ItemFlags flags(const QModelIndex &c_index) const
CQTOpenGLLuaStateTreeVariableModel(lua_State *pt_state, bool b_remove_empty_tables, QObject *pc_parent=0)
virtual int columnCount(const QModelIndex &c_parent=QModelIndex()) const
virtual QVariant headerData(int n_section, Qt::Orientation e_orientation, int n_role=Qt::DisplayRole) const
virtual ~CQTOpenGLLuaStateTreeVariableModel()
virtual bool IsTypeVisitable(lua_State *pt_state)
virtual int columnCount(const QModelIndex &c_parent=QModelIndex()) const
virtual bool IsTypeVisitable(lua_State *pt_state)
virtual ~CQTOpenGLLuaStateTreeFunctionModel()
CQTOpenGLLuaStateTreeFunctionModel(lua_State *pt_state, bool b_remove_empty_tables, QObject *pc_parent=0)
virtual QVariant headerData(int n_section, Qt::Orientation e_orientation, int n_role=Qt::DisplayRole) const