Restrict QGraphicsRectItem position in scene using itemChange

前端 未结 0 851
时光取名叫无心
时光取名叫无心 2020-12-07 00:12

What I\'m trying to do is to restrict the movements of a QGraphicsRectItem inside a QGraphicsScene by never letting it leave the scene.

Here is what I\'ve tried so fa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题