如果改变了QGraphicsItem的 boundingRect() , 记得在导致bound ingRect()改变的操作前, 加上prepareGeometryChange();
自定义QGraphicsItem, view拖动缩放没有重绘,导致item消失
最新推荐文章于 2025-04-07 13:20:53 发布
如果改变了QGraphicsItem的 boundingRect() , 记得在导致bound ingRect()改变的操作前, 加上prepareGeometryChange();