Skip to content

GraphicsPathItem

Qt Base Class: QGraphicsPathItem

Signature: QGraphicsPathItem(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None QGraphicsPathItem(self, path: PySide6.QtGui.QPainterPath, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None

Base classes

Name Children Inherits
AbstractGraphicsShapeItemMixin
prettyqt.widgets.abstractgraphicsshapeitem
QGraphicsPathItem
PySide6.QtWidgets
QGraphicsPathItem(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473296165120["widgets.GraphicsPathItem"]
  1473293714592["widgets.AbstractGraphicsShapeItemMixin"]
  1473293706784["widgets.GraphicsItemMixin"]
  140713234304496["builtins.object"]
  1473290844800["QtWidgets.QGraphicsPathItem"]
  1473290838944["QtWidgets.QAbstractGraphicsShapeItem"]
  1473290795024["QtWidgets.QGraphicsItem"]
  1473291690208["Shiboken.Object"]
  1473293714592 --> 1473296165120
  1473293706784 --> 1473293714592
  140713234304496 --> 1473293706784
  1473290844800 --> 1473296165120
  1473290838944 --> 1473290844800
  1473290795024 --> 1473290838944
  1473291690208 --> 1473290795024
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: AbstractGraphicsShapeItemMixin, QGraphicsPathItem

Path item that you can add to a QGraphicsScene.

Source code in prettyqt\widgets\graphicspathitem.py
class GraphicsPathItem(widgets.AbstractGraphicsShapeItemMixin, widgets.QGraphicsPathItem):
    """Path item that you can add to a QGraphicsScene."""