qt 2dpainting example