QmlEngineMixin
Base classes
Name | Children | Inherits |
---|---|---|
JSEngineMixin prettyqt.qml.jsengine |
Subclasses
Class | Module | Description |
---|---|---|
QmlEngine | prettyqt.qml.qmlengine | |
QmlApplicationEngine | prettyqt.qml.qmlapplicationengine |
⋔ Inheritance diagram
graph TD
1473572315968["qml.QmlEngineMixin"]
1473572333536["qml.JSEngineMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473572333536 --> 1473572315968
1473299815024 --> 1473572333536
140713234304496 --> 1473299815024
🛈 DocStrings
Bases: JSEngineMixin
Source code in prettyqt\qml\qmlengine.py
get_object_ownership(obj: core.QObject) -> ObjectOwnershipStr
set_object_ownership(obj: core.QObject, mode: ObjectOwnershipStr | qml.QQmlEngine.ObjectOwnership)
Set the object ownership.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
obj |
QObject
|
object to set ownership for |
required |
mode |
ObjectOwnershipStr | ObjectOwnership
|
object ownership to use |
required |