This package is responsible for loading and wrapping a binding around qt4.
More...
This package is responsible for loading and wrapping a binding around qt4.
| static lqt::add_button_function |
( |
obj |
, |
|
|
f |
|
|
) |
| |
|
static |
Helper function to add a clicked script.
this function is called at time 0
| static lqt::load_qdll |
( |
name |
| ) |
|
|
static |
Loads a qt binding dll.
Loads a lqt binding library off of disk and calls the entry point, should work off of diguy install as well as the bdi internal tree
By default this package loads qtcore, qtgui, qtuitools
- Parameters
-
| static lqt::load_uic |
( |
name |
| ) |
|
|
static |
Uses the QUiLoader class to dynamically load and moc a UIC file on the fly.
- Parameters
-
| name | string path to the uic file to load |
| static lqt::print_children |
( |
widget |
, |
|
|
space |
|
|
) |
| |
|
static |
Prints qt children of object to the log window.
Recursively prints qt children to the log window, handy for inspecting objects without resorting to Qt Designer
- Parameters
-
| widget | pointer to qobject of interest |
| space | optional arg, automaticaly incremented to help make tree structure |
| static lqt::print_methods |
( |
widget |
| ) |
|
|
static |
Prints methods of object to the log window.
Prints all slots and signals a widget has to the log window, usefull for seeing what signals an object emits and what slots you can call qt_invoke on. also handy for inspecting objects without resorting to Qt Designer
- Parameters
-
| widget | pointer to qobject of interest |
| static lqt::qt_dynamic_cast |
( |
qobject |
| ) |
|
|
static |
Casts a qobject from a derived class to a qt base class.
If a QObject is a pointer to a derived class you may need to use this function to cast it into something that lqt has bound against (ie QWidget or QDialog)
| static lqt::qt_invoke |
( |
|
... | ) |
|
|
static |
Calls a slot created in a derived class.
This just wrap a function registered by DI-Guy Scenario, putting it in a local place. Allows any slot to be called via a pointer to an arbitrary qobject child. This is the only way to call a function in a derived class.
this function is called at reset
The documentation for this class was generated from the following file:
- c:/diguy125/config/diguy/scripts/utils/lqt.lua