10.2 设定QPainter