Qpainter test