QuickPaintedItem
Base classes
| Name | Children | Inherits |
|---|---|---|
| QuickItemMixin prettyqt.quick.quickitem |
||
| QQuickPaintedItem PySide6.QtQuick QQuickPaintedItem(self, /, parent: PySide6.QtQuick.QQuickItem | None \= None, *, contentsSize: PySide6.QtCore.QSize | None \= None, fillColor: PySide6.QtGui.QColor | None \= None, contentsScale: float | None \= None, renderTarget: PySide6.QtQuick.QQuickPaintedItem.RenderTarget | None \= None, textureSize: PySide6.QtCore.QSize | None \= None) -> None |
⋔ Inheritance diagram
graph TD
1705461384["quick.QuickPaintedItem"]
1051842846["quick.QuickItemMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
2393263430["qml.QmlParserStatusMixin"]
3521063308["QtQuick.QQuickPaintedItem"]
2920975580["QtQuick.QQuickItem"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
3751516664["QtQml.QQmlParserStatus"]
1051842846 --> 1705461384
3227531497 --> 1051842846
2751680898 --> 3227531497
2393263430 --> 1051842846
2751680898 --> 2393263430
2751680898 --> 1051842846
3521063308 --> 1705461384
2920975580 --> 3521063308
3984060476 --> 2920975580
37984305 --> 3984060476
2751680898 --> 37984305
3751516664 --> 2920975580
37984305 --> 3751516664
🛈 DocStrings
Bases: QuickItemMixin, QQuickPaintedItem
Way to use the QPainter API in the QML Scene Graph.
Source code in prettyqt/quick/quickpainteditem.py
get_render_target() -> RenderTargetStr
set_render_target(target: RenderTargetStr | mod.RenderTarget)
Set the render target.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
target
|
RenderTargetStr | RenderTarget
|
render target to use |
required |