qtdraw: Avoid creating a new QPainter at each draw iteration.

We can have only one QPainter and just call begin and end on it.

Signed-off-by: Guillaume Clement <gclement@baobob.org>