QGraphicsObject需要显式更新才能重新绘制我有一个QGraphicsPixmapItem,它的内容随着鼠标点击而改变。当所有交互事件都在派生自QGraphicsPixmapItem的类中处理时,一切都非常好: import numpy as ...2024-05-24 已阅读: n次