QPaintDeviceWindow is like a regular
QWindow , with the added functionality of being a paint device too. Whenever the content needs to be updated, the virtual
paintEvent() function is called. Subclasses, that reimplement this function, can then simply open a
QPainter on the window.
This class cannot directly be used in applications. It rather serves as a base for subclasses like
Marks the entire window as dirty and schedules a repaint.
Subsequent calls to this function before the next paint event will get ignored.
For non-exposed windows the update is deferred until the window becomes exposed again.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.