Qt绘制虚线
Qt绘制虚线
QPainter painterObj; QPen tmp; QVector<qreal>dashes; qreal space = 4; dashes << 3 << space << 3 << space << 3 << space << 3 << space << 3 << space; tmp.setDashPattern(dashes); painterObj.setPen(tmp);
#############################
QQ 3087438119