NSScript::ScriptIntrospection Class Reference

A TreeView for introspection of scriptable objects. More...

#include <scriptintrospection.h>

Inheritance diagram for NSScript::ScriptIntrospection:

QWidget
Collaboration diagram for NSScript::ScriptIntrospection:

Collaboration graph
[legend]

List of all members.

Public Slots

void on_btnUpdate_clicked ()
 Update the view.

Public Member Functions

 ScriptIntrospection (ScriptEnvironment *env, QWidget *p)
 constructor

Private Member Functions

void addQObject (QObject *, QTreeWidgetItem *)
 Add a QObject (and its childs recursivly).
void addProperties (QObject *, QTreeWidgetItem *)
 Add the properties of a QObject.
void addMethods (QObject *, QTreeWidgetItem *)
 Add the methods (signals/slots) of a QObject.

Private Attributes

ScriptEnvironment_env
Ui::ScriptIntrospection_Base * _base


Detailed Description

A TreeView for introspection of scriptable objects.

This displays a treeview with the methods and properties of objects added to a ScriptEnvironment.

You have to call on_btnUpdate_clicked() to update ( and initialize ) the tree.


Constructor & Destructor Documentation

NSScript::ScriptIntrospection::ScriptIntrospection ( ScriptEnvironment env,
QWidget p 
)

constructor

Parameters:
env The ScriptEnvironment to introspect
p The parent QWidget


Member Function Documentation

void NSScript::ScriptIntrospection::on_btnUpdate_clicked (  )  [slot]

Update the view.

void NSScript::ScriptIntrospection::addQObject ( QObject ,
QTreeWidgetItem *   
) [private]

Add a QObject (and its childs recursivly).

void NSScript::ScriptIntrospection::addProperties ( QObject ,
QTreeWidgetItem *   
) [private]

Add the properties of a QObject.

void NSScript::ScriptIntrospection::addMethods ( QObject ,
QTreeWidgetItem *   
) [private]

Add the methods (signals/slots) of a QObject.


Member Data Documentation

Ui::ScriptIntrospection_Base* NSScript::ScriptIntrospection::_base [private]


The documentation for this class was generated from the following file:

Generated on Tue Apr 12 02:10:37 2011 for epos by  doxygen 1.5.5