Skip to content

GraphicsScale

Qt Base Class: QGraphicsScale

Signature: QGraphicsScale(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
GraphicsTransformMixin
prettyqt.widgets.graphicstransform
QGraphicsScale
PySide6.QtWidgets
QGraphicsScale(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473293704832["widgets.GraphicsScale"]
  1473293681408["widgets.GraphicsTransformMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473365801136["QtWidgets.QGraphicsScale"]
  1473365800160["QtWidgets.QGraphicsTransform"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473293681408 --> 1473293704832
  1473299815024 --> 1473293681408
  140713234304496 --> 1473299815024
  1473365801136 --> 1473293704832
  1473365800160 --> 1473365801136
  1473288842240 --> 1473365800160
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: GraphicsTransformMixin, QGraphicsScale

Source code in prettyqt\widgets\graphicsscale.py
7
8
9
class GraphicsScale(widgets.GraphicsTransformMixin, widgets.QGraphicsScale):
    def set_origin(self, origin: datatypes.Vector3DType):
        self.setOrigin(datatypes.to_vector3d(origin))

⌗ Property table

Qt Property Type Doc
objectName QString
origin QVector3D
xScale double
yScale double
zScale double