The QPainter class performs low-level painting on widgets and other paint devices.
bool begin(QPaintDevice *)
Begins painting the paint device and returns true if successful; otherwise returns false.
void drawEllipse(const QRectF &r)
Draws the ellipse defined by the given rectangle.
void drawPicture(const QPointF &p, const QPicture &picture)
Replays the given picture at the given point.
The QPicture class is a paint device that records and replays QPainter commands.