Skip to content

PythonQt.Qt.QBackingStore

QBackingStore

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QBackingStore enables the use of QPainter to paint on a QWindow with type RasterSurface. The other way of rendering to a QWindow is through the use of OpenGL with QOpenGLContext.

A QBackingStore contains a buffered representation of the window contents, and thus supports partial updates by using QPainter to only update a sub region of the window contents.

QBackingStore might be used by an application that wants to use QPainter without OpenGL acceleration and without the extra overhead of using the QWidget or QGraphicsView UI stacks. For an example of how to use QBackingStore see the Raster Window Example.

Source: https://doc.qt.io/archives/qt-5.15/qbackingstore.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
beginPaint function (self, arg__1: Any) -> None Begins painting on the backing store surface in the given region. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
endPaint function (self) -> None Ends painting. (shared captured text)
flush function (self, region: Any, window: Any, offset: Any) -> None X.flush(region, window, offset) (shared captured text)
hasStaticContents function (self) -> bool X.hasStaticContents() -> bool (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
paintDevice function (self) -> Any X.paintDevice() -> PythonQt.QtGui.QPaintDevice (shared captured text)
resize function (self, size: Any) -> None Sets the size of the window surface to size. (shared captured text)
scroll function (self, area: Any, dx: int, dy: int) -> bool X.scroll(area, dx, dy) -> bool (shared captured text)
setStaticContents function (self, region: Any) -> None Set region as the static contents of this window. (shared captured text)
size function (self) -> Any X.size() -> PythonQt.QtCore.QSize (shared captured text)
staticContents function (self) -> Any X.staticContents() -> PythonQt.QtGui.QRegion (shared captured text)
window function (self) -> Any X.window() -> PythonQt.QtGui.QWindow (shared captured text)