QRectF(qreal x, qreal y, qreal width, qreal height)
QRectF(const QPointF &topLeft, const QPointF &bottomRight)
例子
painter->drawRect(QRectF(QPointF(120,20),QPointF(450,m_element_height*80-20)));
QRectF(qreal x, qreal y, qreal width, qreal height)
QRectF(const QPointF &topLeft, const QPointF &bottomRight)
例子
painter->drawRect(QRectF(QPointF(120,20),QPointF(450,m_element_height*80-20)));
1万+
782
1125

被折叠的 条评论
为什么被折叠?