|qmake:||QT += gui|
This class was introduced in Qt 5.4.
|QRasterWindow(QWindow *parent = nullptr)|
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.
Member Function Documentation
QRasterWindow::QRasterWindow(QWindow *parent = nullptr)
Constructs a new QRasterWindow with parent.