PySide6.QtGui.QRasterWindow¶
- class QRasterWindow¶
- QRasterWindowis a convenience class for using- QPainteron a- QWindow. More…- Synopsis¶- Methods¶- def - __init__()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- QRasterWindowis a- QWindowwith a raster-based, non-OpenGL surface. On top of the functionality offered by- QWindow,- QRasterWindowadds a virtual- paintEvent()function and the possibility to open a- QPainteron itself. The underlying paint engine will be the raster one, meaning that all drawing will happen on the CPU. For performing accelerated, OpenGL-based drawing, use QOpenGLWindow instead.- Internally the class is thin wrapper for - QWindowand- QBackingStoreand is very similar to the Raster Window Example that uses these classes directly.- See also - paintEvent()- update()- Constructs a new - QRasterWindowwith- parent.