Skip to content

GraphicsSvgItem

Qt Base Class: QGraphicsSvgItem

Signature: QGraphicsSvgItem(self, fileName: str, parentItem: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None QGraphicsSvgItem(self, parentItem: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None

Base classes

Name Children Inherits
GraphicsObjectMixin
prettyqt.widgets.graphicsobject
QGraphicsSvgItem
PySide6.QtSvgWidgets
QGraphicsSvgItem(self, fileName: str, parentItem: Optional[PySide6.QtWidgets.QGraphicsItem] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473374545280["svgwidgets.GraphicsSvgItem"]
  1473293697024["widgets.GraphicsObjectMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473293706784["widgets.GraphicsItemMixin"]
  1473374542352["QtSvgWidgets.QGraphicsSvgItem"]
  1473365816752["QtWidgets.QGraphicsObject"]
  1473290795024["QtWidgets.QGraphicsItem"]
  1473291690208["Shiboken.Object"]
  1473288842240["QtCore.QObject"]
  1473293697024 --> 1473374545280
  1473299815024 --> 1473293697024
  140713234304496 --> 1473299815024
  1473293706784 --> 1473293697024
  140713234304496 --> 1473293706784
  1473374542352 --> 1473374545280
  1473365816752 --> 1473374542352
  1473290795024 --> 1473365816752
  1473291690208 --> 1473290795024
  140713234304496 --> 1473291690208
  1473288842240 --> 1473365816752
  1473291690208 --> 1473288842240

🛈 DocStrings

Bases: GraphicsObjectMixin, QGraphicsSvgItem

Source code in prettyqt\svgwidgets\graphicssvgitem.py
class GraphicsSvgItem(widgets.GraphicsObjectMixin, QtSvgWidgets.QGraphicsSvgItem):
    pass

⌗ Property table

Qt Property Type Doc
objectName QString
parent QGraphicsObject
opacity double
enabled bool
visible bool
pos QPointF
x double
y double
z double
rotation double
scale double
transformOriginPoint QPointF
effect QGraphicsEffect
children QDeclarativeListProperty
width double
height double
elementId QString
maximumCacheSize QSize