Skip to content

GraphicsPathItem

Base classes

Name Children Inherits
AbstractGraphicsShapeItemMixin
prettyqt.widgets.abstractgraphicsshapeitem
QGraphicsPathItem
PySide6.QtWidgets
QGraphicsPathItem(self, path: PySide6.QtGui.QPainterPath, /, parent: PySide6.QtWidgets.QGraphicsItem | None \= None) -> None

⋔ Inheritance diagram

graph TD
  3464155836["widgets.GraphicsPathItem"]
  1457645213["widgets.AbstractGraphicsShapeItemMixin"]
  1638127052["widgets.GraphicsItemMixin"]
  2751680898["builtins.object"]
  1788462746["QtWidgets.QGraphicsPathItem"]
  3535066864["QtWidgets.QAbstractGraphicsShapeItem"]
  2584426969["QtWidgets.QGraphicsItem"]
  37984305["Shiboken.Object"]
  1457645213 --> 3464155836
  1638127052 --> 1457645213
  2751680898 --> 1638127052
  2751680898 --> 1457645213
  1788462746 --> 3464155836
  3535066864 --> 1788462746
  2584426969 --> 3535066864
  37984305 --> 2584426969
  2751680898 --> 37984305

🛈 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."""

:fa-brands-github: Show source on GitHub