Skip to content

BackingStore

Base classes

Name Children Inherits
QBackingStore
PySide6.QtGui
QBackingStore(self, window: PySide6.QtGui.QWindow, /) -> None

⋔ Inheritance diagram

graph TD
  2375637126["gui.BackingStore"]
  3937392732["QtGui.QBackingStore"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  3937392732 --> 2375637126
  37984305 --> 3937392732
  2751680898 --> 37984305

🛈 DocStrings

Bases: QBackingStore

Drawing area for QWindow.

Source code in prettyqt/gui/backingstore.py
class BackingStore(QtGui.QBackingStore):
    """Drawing area for QWindow."""

    @contextlib.contextmanager
    def paint_on_region(self, region: QtGui.QRegion):
        self.beginPaint(region)
        yield self
        self.endPaint()

:fa-brands-github: Show source on GitHub