QT用QPainter的drawText绘制文字 drawText(QPoint,QString)不能换行识别不了/n drawText(QRect,int flags,QString)可以换行需要设置alignmen