prepare for having QPainter sent to drawing functions instead of them returning QImage to be drawn.