argos::CQTOpenGLLuaStateTreeModel Class Referenceabstract

#include <qtopengl_lua_statetree_model.h>

Inheritance diagram for argos::CQTOpenGLLuaStateTreeModel:
Collaboration diagram for argos::CQTOpenGLLuaStateTreeModel:

Public Slots

void Refresh ()
 
void Refresh (int)
 

Public Member Functions

 CQTOpenGLLuaStateTreeModel (lua_State *pt_state, bool b_remove_empty_tables, QObject *pc_parent=0)
 
virtual ~CQTOpenGLLuaStateTreeModel ()
 
virtual QVariant data (const QModelIndex &c_index, int n_role) const
 
virtual Qt::ItemFlags flags (const QModelIndex &c_index) const
 
virtual QModelIndex index (int n_row, int n_column, const QModelIndex &c_parent=QModelIndex()) const
 
virtual QModelIndex parent (const QModelIndex &c_index) const
 
virtual int rowCount (const QModelIndex &c_parent=QModelIndex()) const
 
void SetLuaState (lua_State *pt_state)
 

Protected Member Functions

void ProcessLuaState (lua_State *pt_state, CQTOpenGLLuaStateTreeItem *pc_item)
 
virtual bool IsTypeVisitable (lua_State *pt_state)=0
 

Detailed Description

Definition at line 30 of file qtopengl_lua_statetree_model.h.

Constructor & Destructor Documentation

argos::CQTOpenGLLuaStateTreeModel::CQTOpenGLLuaStateTreeModel ( lua_State *  pt_state,
bool  b_remove_empty_tables,
QObject *  pc_parent = 0 
)

Definition at line 18 of file qtopengl_lua_statetree_model.cpp.

argos::CQTOpenGLLuaStateTreeModel::~CQTOpenGLLuaStateTreeModel ( )
virtual

Definition at line 30 of file qtopengl_lua_statetree_model.cpp.

Member Function Documentation

QVariant argos::CQTOpenGLLuaStateTreeModel::data ( const QModelIndex &  c_index,
int  n_role 
) const
virtual

Definition at line 37 of file qtopengl_lua_statetree_model.cpp.

Qt::ItemFlags argos::CQTOpenGLLuaStateTreeModel::flags ( const QModelIndex &  c_index) const
virtual

Definition at line 52 of file qtopengl_lua_statetree_model.cpp.

QModelIndex argos::CQTOpenGLLuaStateTreeModel::index ( int  n_row,
int  n_column,
const QModelIndex &  c_parent = QModelIndex() 
) const
virtual

Definition at line 64 of file qtopengl_lua_statetree_model.cpp.

virtual bool argos::CQTOpenGLLuaStateTreeModel::IsTypeVisitable ( lua_State *  pt_state)
protectedpure virtual
QModelIndex argos::CQTOpenGLLuaStateTreeModel::parent ( const QModelIndex &  c_index) const
virtual

Definition at line 89 of file qtopengl_lua_statetree_model.cpp.

void argos::CQTOpenGLLuaStateTreeModel::ProcessLuaState ( lua_State *  pt_state,
CQTOpenGLLuaStateTreeItem pc_item 
)
protected

Definition at line 153 of file qtopengl_lua_statetree_model.cpp.

void argos::CQTOpenGLLuaStateTreeModel::Refresh ( )
slot

Definition at line 131 of file qtopengl_lua_statetree_model.cpp.

void argos::CQTOpenGLLuaStateTreeModel::Refresh ( int  )
slot

Definition at line 146 of file qtopengl_lua_statetree_model.cpp.

int argos::CQTOpenGLLuaStateTreeModel::rowCount ( const QModelIndex &  c_parent = QModelIndex()) const
virtual

Definition at line 106 of file qtopengl_lua_statetree_model.cpp.

void argos::CQTOpenGLLuaStateTreeModel::SetLuaState ( lua_State *  pt_state)

Definition at line 123 of file qtopengl_lua_statetree_model.cpp.