Qt QML C++ Classes

The C++ API provided by the Qt QML module. More...

Namespaces

QtQml

Provides functions for producing logging messages for QML types

Classes

QQmlContext::PropertyPair

QJSEngine

Environment for evaluating JavaScript code

QJSValue

Acts as a container for Qt/JavaScript data types

QJSValueIterator

Java-style iterator for QJSValue

QQmlAbstractUrlInterceptor

Allows you to control QML file loading

QQmlApplicationEngine

Convenient way to load an application from a single QML file

QQmlComponent

Encapsulates a QML component definition

QQmlContext

Defines a context within a QML engine

QQmlEngine

Environment for instantiating QML components

QQmlError

Encapsulates a QML error

QQmlExpression

Evaluates JavaScript in a QML context

QQmlExtensionPlugin

Abstract base for custom QML extension plugins

QQmlFileSelector

A class for applying a QFileSelector to QML file loading

QQmlImageProviderBase

Used to register image providers in the QML engine

QQmlIncubationController

Instances drive the progress of QQmlIncubators

QQmlIncubator

Allows QML objects to be created asynchronously

QQmlListProperty

Allows applications to expose list-like properties of QObject-derived classes to QML

QQmlListReference

Allows the manipulation of QQmlListProperty properties

QQmlNetworkAccessManagerFactory

Creates QNetworkAccessManager instances for a QML engine

QQmlParserStatus

Updates on the QML parser state

QQmlProperty

Abstracts accessing properties on objects created from QML

QQmlPropertyMap

Allows you to set key-value pairs that can be used in QML bindings

QQmlPropertyValueSource

Interface for property value sources such as animations and bindings

QQmlScriptString

Encapsulates a script and its context

Detailed Description

To include the definitions of the module's classes, use the following directive:

#include <QtQml>

To link against the module, add this line to your qmake .pro file:

QT += qml

For more information on the Qt QML module, see the Qt QML module documentation.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.