The QPaintEngineState class provides information about the active paint engine's current state.| doc.qt.io
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a given platform.| doc.qt.io