QtQml — PyQt Documentation v5.15.7 (original) (raw)

The QtQml module contains classes to allow applications to integrate support for QML and JavaScript. Python objects can be exported to QML or be created from QML in the same way that Qt allows the same with C++ instances. See Integrating Python and QML for a fuller description of how to do this.

Classes

QJSEngine QQmlContext QQmlFileSelector QQmlParserStatus
QJSValue QQmlEngine QQmlImageProviderBase QQmlProperty
QJSValueIterator QQmlEngineExtensionPlugin QQmlIncubationController QQmlPropertyMap
QQmlAbstractUrlInterceptor QQmlError QQmlIncubator QQmlPropertyValueSource
QQmlApplicationEngine QQmlExpression QQmlListReference QQmlScriptString
QQmlComponent QQmlExtensionPlugin QQmlNetworkAccessManagerFactory

Functions

qjsEngine(QObject) → QJSEngine

TODO


qmlAttachedPropertiesObject(type, QObject, create: bool = True) → QObject

TODO


qmlClearTypeRegistrations()

TODO


qmlRegisterRevision(type, int, str, int, int, attachedProperties: type = 0) → int

TODO


qmlRegisterSingletonType(QUrl, str, int, int, str) → int

TODO


qmlRegisterSingletonType(type, str, int, int, str, Callable[[QQmlEngine, QJSEngine], Any]) → int

TODO


qmlRegisterType(type, attachedProperties: type = 0) → int

TODO


qmlRegisterType(QUrl, str, int, int, str) → int

TODO


qmlRegisterType(type, str, int, int, str, attachedProperties: type = 0) → int

TODO


qmlRegisterType(type, int, str, int, int, str, attachedProperties: type = 0) → int

TODO


qmlRegisterUncreatableType(type, str, int, int, str, str) → int

TODO


qmlRegisterUncreatableType(type, int, str, int, int, str, str) → int

TODO


qmlTypeId(str, int, int, str) → int

TODO