6.0.0-rc4Source

Nt Qml C++ Classes

A JavaScript engine for scripting applications, and the QML engine.

Using the Module

target_link_libraries(app PRIVATE Nt::Qml)

Nt Qml runs JavaScript and QML. QJSEngine evaluates programs, QJSValue holds what they make, and QObjects take part in scripts with their properties, slots and signals; see Using Nt Qml. QQmlEngine and QQmlComponent make objects from QML documents, with bindings that keep their properties up to date; see Using Nt QML.

Link with Nt::Qml and include <QJSEngine>, <QQmlEngine> or <QtQml>.

Classes

QJSEngineThe QJSEngine class runs JavaScript programs.
QJSValueThe QJSValue class holds a value of a JavaScript engine.
QJSValueIteratorThe QJSValueIterator class iterates over the enumerable own properties of an object.
QQmlApplicationEngineThe QQmlApplicationEngine class loads the main QML document of an application.
QQmlComponentThe QQmlComponent class makes objects from a QML document.
QQmlContextThe QQmlContext class is a scope of names for the expressions of a QML component.
QQmlContext::PropertyPairA name and a value, for setContextProperties().
QQmlEngineThe QQmlEngine class makes objects from QML documents.
QQmlErrorThe QQmlError class describes an error in a QML document.
QQmlListPropertyThe QQmlListProperty class is a list of objects that QML documents fill.
QQmlParserStatusThe QQmlParserStatus class tells an object when QML starts and finishes making it.