![]() |
Zen
A cross-platform functional programming language
|
Intrinsic gui view type. More...
#include <zbl.hpp>
Public Member Functions | |
| view () | |
| Default constructor. | |
| view (const view &src) | |
| Copy constructor. | |
| ~view () | |
| Destructor. | |
| view & | operator= (const view &src) |
| Assign a view to this instance. | |
| view & | clear () |
| Clear the view. | |
| view & | set (QDeclarativeView *val) |
| Assign a view to this instance. | |
| QDeclarativeView & | get () |
| Returns the stored value. | |
| view & | load (const z::string &filename) |
| Load a QML file. | |
| view & | setCallback (const z::string &name, QObject *obj) |
| Set an object containing callback functions. | |
| view & | show () |
| Show the view. | |
| widget | operator[] (const z::string &idx) const |
| Get a named widget. | |
Private Attributes | |
| QDeclarativeView * | _val |
| The value. | |
Intrinsic gui view type.
Represents a QML view.
| view& clear | ( | ) | [inline] |
Clear the view.
| QDeclarativeView& get | ( | ) | [inline] |
Returns the stored value.
Load a QML file.
| filename | The file to load |
Assign a view to this instance.
| src | The value to assign |
Get a named widget.
| idx | Name of the widget |
Assign a view to this instance.
| val | The value to assign |
Set an object containing callback functions.
| name | The name of the callback object |
| obj | The callback object to set |
| view& show | ( | ) | [inline] |
Show the view.