#include <scriptintrospection.h>
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 |
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.
NSScript::ScriptIntrospection::ScriptIntrospection | ( | ScriptEnvironment * | env, | |
QWidget * | p | |||
) |
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.
Ui::ScriptIntrospection_Base* NSScript::ScriptIntrospection::_base [private] |