QuickPaintedItem
Qt Base Class: QQuickPaintedItem
Signature: QQuickPaintedItem(self, parent: Optional[PySide6.QtQuick.QQuickItem] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
QuickItemMixin prettyqt.quick.quickitem |
||
QQuickPaintedItem PySide6.QtQuick QQuickPaintedItem(self, parent: Optional[PySide6.QtQuick.QQuickItem] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473374480864["quick.QuickPaintedItem"]
1473374484768["quick.QuickItemMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473572323776["qml.QmlParserStatusMixin"]
1473374451584["QtQuick.QQuickPaintedItem"]
1473374449632["QtQuick.QQuickItem"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473572235936["QtQml.QQmlParserStatus"]
1473374484768 --> 1473374480864
1473299815024 --> 1473374484768
140713234304496 --> 1473299815024
1473572323776 --> 1473374484768
140713234304496 --> 1473572323776
1473374451584 --> 1473374480864
1473374449632 --> 1473374451584
1473288842240 --> 1473374449632
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
1473572235936 --> 1473374449632
1473291690208 --> 1473572235936
🛈 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 |
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
parent |
QQuickItem | |
data |
QQmlListProperty |
|
resources |
QQmlListProperty |
|
children |
QQmlListProperty |
|
x |
double | |
y |
double | |
z |
double | |
width |
double | |
height |
double | |
opacity |
double | |
enabled |
bool | |
visible |
bool | |
palette |
QQuickPalette | |
visibleChildren |
QQmlListProperty |
|
states |
QQmlListProperty |
|
transitions |
QQmlListProperty |
|
state |
QString | |
childrenRect |
QRectF | |
anchors |
QQuickAnchors | |
left |
QQuickAnchorLine | |
right |
QQuickAnchorLine | |
horizontalCenter |
QQuickAnchorLine | |
top |
QQuickAnchorLine | |
bottom |
QQuickAnchorLine | |
verticalCenter |
QQuickAnchorLine | |
baseline |
QQuickAnchorLine | |
baselineOffset |
double | |
clip |
bool | |
focus |
bool | |
activeFocus |
bool | |
activeFocusOnTab |
bool | |
rotation |
double | |
scale |
double | |
transformOrigin |
QQuickItem::TransformOrigin | |
transformOriginPoint |
QPointF | |
transform |
QQmlListProperty |
|
smooth |
bool | |
antialiasing |
bool | |
implicitWidth |
double | |
implicitHeight |
double | |
containmentMask |
QObject | |
layer |
QQuickItemLayer | |
contentsSize |
QSize | |
fillColor |
QColor | |
contentsScale |
double | |
renderTarget |
QQuickPaintedItem::RenderTarget | |
textureSize |
QSize |