PySide6.QtQml¶
- Functions
- Enumerations
- PySide6.QtQml.QQmlContext.PropertyPair
- PySide6.QtQml.QJSEngine
- PySide6.QtQml.QJSManagedValue
- PySide6.QtQml.QJSPrimitiveValue
- PySide6.QtQml.QJSValue
- PySide6.QtQml.QJSValueIterator
- PySide6.QtQml.QQmlAbstractUrlInterceptor
- PySide6.QtQml.QQmlApplicationEngine
- PySide6.QtQml.QQmlComponent
- PySide6.QtQml.QQmlContext
- PySide6.QtQml.QQmlDebuggingEnabler
- PySide6.QtQml.QQmlEngine
- PySide6.QtQml.QQmlError
- PySide6.QtQml.QQmlExpression
- PySide6.QtQml.QQmlExtensionInterface
- PySide6.QtQml.QQmlExtensionPlugin
- PySide6.QtQml.QQmlFile
- PySide6.QtQml.QQmlFileSelector
- PySide6.QtQml.QQmlImageProviderBase
- PySide6.QtQml.QQmlIncubationController
- PySide6.QtQml.QQmlIncubator
- PySide6.QtQml.QQmlListReference
- PySide6.QtQml.QQmlNetworkAccessManagerFactory
- PySide6.QtQml.QQmlParserStatus
- PySide6.QtQml.QQmlProperty
- PySide6.QtQml.QQmlPropertyMap
- PySide6.QtQml.QQmlPropertyValueSource
- PySide6.QtQml.QQmlScriptString
- PySide6.QtQml.QQmlTypesExtensionInterface
ListProperty
QPyQmlParserStatus
QPyQmlPropertyValueSource
Detailed Description¶
The Qt QML module defines and implements the QML language
The Qt QML module provides a framework for developing applications and libraries with the QML language. It defines and implements the language and engine infrastructure, and provides an API to enable application developers to extend the QML language with custom types and integrate QML code with JavaScript and C++. The Qt QML module provides both a QML API and a C++ API .
Note that while the Qt QML module provides the language and infrastructure for QML applications, the Qt Quick module provides many visual components, model-view support, an animation framework, and much more for building user interfaces.
For those new to QML and Qt Quick, please see QML Applications for an introduction to writing QML applications.
Using the Module¶
To include the definitions of modules classes, use the following directive:
import PySide6.QtQml
The module also provides QML types .
QML and QML Types¶
The Qt QML module contains the QML framework and important QML types used in applications. The constructs of QML are described in the The QML Reference .
In addition to the QML Basic Types , the module comes with the following QML object types:
The Qt global object provides useful enums and functions for various QML types.
Lists and Models¶
New in Qt 5.1, the model types are moved to a submodule, QtQml.Models
. The
Qt QML Models page has more information.
DelegateModel
DelegateModelGroup
ListElement
ListModel
ObjectModel
JavaScript Environment for QML Applications¶
JavaScript expressions allow QML code to contain application logic. Qt QML provides the framework for running JavaScript expressions in QML and from C++.
These sections are from The QML Reference .
List of Classes¶
J |
|||
L |
|||
P |
|||
Q |
|||
List of Decorators¶
List of Functions¶
Q |
|||