QuickItemMixin
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QmlParserStatusMixin prettyqt.qml.qmlparserstatus |
Subclasses
Class | Module | Description |
---|---|---|
QuickItem | prettyqt.quick.quickitem | |
QuickPaintedItem | prettyqt.quick.quickpainteditem |
⋔ Inheritance diagram
graph TD
1473374484768["quick.QuickItemMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473572323776["qml.QmlParserStatusMixin"]
1473299815024 --> 1473374484768
140713234304496 --> 1473299815024
1473572323776 --> 1473374484768
140713234304496 --> 1473572323776
🛈 DocStrings
Bases: ObjectMixin
, QmlParserStatusMixin
Source code in prettyqt\quick\quickitem.py
get_transform_origin() -> TransformOriginStr
Return the render type of text-like elements in Qt Quick.
set_transform_origin(origin: TransformOriginStr | QtQuick.QQuickItem.TransformOrigin)
Set the origin point around which scale and rotation transform.
The default is "center".
Parameters:
Name | Type | Description | Default |
---|---|---|---|
origin |
TransformOriginStr | TransformOrigin
|
transform origin to use |
required |