Skip to content

BackingStore

Qt Base Class: QBackingStore

Signature: QBackingStore(self, window: PySide6.QtGui.QWindow) -> None

Base classes

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

⋔ Inheritance diagram

🛈 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()