Skip to content

PaintDevice

Base classes

Name Children Inherits
PaintDeviceMixin
prettyqt.gui.paintdevice
QPaintDevice
PySide6.QtGui
QPaintDevice(self, /) -> None

⋔ Inheritance diagram

graph TD
  2175364766["gui.PaintDevice"]
  625385617["gui.PaintDeviceMixin"]
  2751680898["builtins.object"]
  673956333["QtGui.QPaintDevice"]
  37984305["Shiboken.Object"]
  625385617 --> 2175364766
  2751680898 --> 625385617
  673956333 --> 2175364766
  37984305 --> 673956333
  2751680898 --> 37984305

🛈 DocStrings

Bases: PaintDeviceMixin, QPaintDevice

The base class of objects that can be painted on with QPainter.

Source code in prettyqt/gui/paintdevice.py
class PaintDevice(PaintDeviceMixin, QtGui.QPaintDevice):
    """The base class of objects that can be painted on with QPainter."""

:fa-brands-github: Show source on GitHub