QML engine
The QML Engine module allows Nelson programs to display, manipulate, and interact with graphical content using Qt's QML framework.
It provides functions to manage QML components, access Qt objects, and integrate JavaScript and QML logic.
Functions
QObject_classname - Returns class name of an QObject handle.
QObject_findchildren - Returns all children of this object with the given name.
QObject_get - Retrieve a property value from an QObject handle.
QObject_iswidgettype - Returns true if the QObject is a widget.
QObject_iswindowtype - Returns true if the QObject is a window.
QObject_methodsignature - Returns the signature of a method of a QObject handle.
QObject_root - QObject root object.
QObject_set - Set a property value of an QObject handle (set).
QObject_undefine - Undefine a dynamic property of a QObject handle.
QObject_used - Returns list of current used QObject handle.
nelsonObject - nelson object callable from QML.
qml_addimportpath - Adds path as directory where the qml engine searches for installed modules.
qml_addpluginpath - Adds path as directory where the qml engine searches for native plugins.
qml_clearcomponentcache - Clears the engine's internal component cache..
qml_collectgarbage - Runs the Qml garbage collector.
qml_createqquickview - Load a QML file and creates a window.
qml_demos - QML demos.
qml_evaluatefile - Evaluates a js file.
qml_evaluatestring - Evaluates a js string.
qml_importpathlist - Returns the list of directories where the engine searches for installed modules in a URL-based directory structure.
qml_loadfile - Load a QML file.
qml_loadstring - Load a QML string.
qml_offlinestoragepath - Get the Property contains the directory to store offline user data.
qml_pluginpathlist - Returns the list of directories where the engine searches for native plugins for imported modules.
qml_setofflinestoragepath - Set the Property contains the directory to store offline user data.
qt_constant - Returns Qt constant value.
qt_version - Returns Qt version used.
Last updated
Was this helpful?