QGraphicsItem

QRectF boundingRect();

在返回的矩形中绘制item才会被刷新。

item绘制在scene中,然后将scene中的内容在映射到view中。

你可能感兴趣的:(QGraphicsItem)