QPainter slow, how to write into a buffer instead of repainting again and again?

Printable View