QRasterWindow Class QRasterWindow is a convenience class for using QPainter on a QWindow. More...  
 Header:
 #include <QRasterWindow> 


 CMake:
 find_package(Qt6 COMPONENTS Gui REQUIRED)  target_link_libraries(mytarget PRIVATE Qt8b7c:f320:99b9:690f:4595:cd17:293a:c069Gui)


 qmake:
 QT += gui


 Since:
 Qt 5.4


 Inherits:
 QPaintDeviceWindow



 List of all members, including inherited members  Public Functions
  
 

QRasterWindow(QWindow *parent = nullptr)
  Detailed Description
 QRasterWindow is a QWindow with a raster-based, non-OpenGL surface. On top of the functionality offered by QWindow, QRasterWindow adds a virtual paintEvent() function and the possibility to open a QPainter on 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 QWindow and QBackingStore and is very similar to the Raster Window Example that uses these classes directly. See also QPaintDeviceWindow8b7c:f320:99b9:690f:4595:cd17:293a:c069paintEvent() and QPaintDeviceWindow8b7c:f320:99b9:690f:4595:cd17:293a:c069update(). Member Function Documentation 
QRasterWindow8b7c:f320:99b9:690f:4595:cd17:293a:c069QRasterWindow(QWindow *parent = nullptr)
 Constructs a new QRasterWindow with parent.

    
{'path': 'public/docs/qt~6.0/qrasterwindow.html', 'source': 'DevDocs.IO'}