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

◆ CQTOpenGLLuaStateTreeModel()

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

Definition at line 23 of file qtopengl_lua_statetree_model.cpp.

◆ ~CQTOpenGLLuaStateTreeModel()

argos::CQTOpenGLLuaStateTreeModel::~CQTOpenGLLuaStateTreeModel ( )
virtual

Definition at line 35 of file qtopengl_lua_statetree_model.cpp.

Member Function Documentation

◆ data()

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

Definition at line 42 of file qtopengl_lua_statetree_model.cpp.

◆ flags()

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

Definition at line 57 of file qtopengl_lua_statetree_model.cpp.

◆ index()

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

Definition at line 69 of file qtopengl_lua_statetree_model.cpp.

◆ IsTypeVisitable()

virtual bool argos::CQTOpenGLLuaStateTreeModel::IsTypeVisitable ( lua_State *  pt_state)
protectedpure virtual

◆ parent()

QModelIndex argos::CQTOpenGLLuaStateTreeModel::parent ( const QModelIndex &  c_index) const
virtual

Definition at line 94 of file qtopengl_lua_statetree_model.cpp.

◆ ProcessLuaState()

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

Definition at line 158 of file qtopengl_lua_statetree_model.cpp.

◆ Refresh [1/2]

void argos::CQTOpenGLLuaStateTreeModel::Refresh ( )
slot

Definition at line 136 of file qtopengl_lua_statetree_model.cpp.

◆ Refresh [2/2]

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

Definition at line 151 of file qtopengl_lua_statetree_model.cpp.

◆ rowCount()

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

Definition at line 111 of file qtopengl_lua_statetree_model.cpp.

◆ SetLuaState()

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

Definition at line 128 of file qtopengl_lua_statetree_model.cpp.