QPainter 绘制基本图形的类 一次性填充绘制QVector drawPointsGray;存储灰色的点...将所有要画灰色的点加入该数组中painter.setPen(Qt::gray);设置颜色painter.drawP...