The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a given platform.| doc.qt.io
The QPaintDevice class is the base class of objects that can be painted on with QPainter.| doc.qt.io