The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework. 更多...
继承 QGraphicsSceneEvent .
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework.
A QGraphicsWidget sends itself a QGraphicsSceneResizeEvent immediately when its geometry 改变。
It's similar to QResizeEvent , but its sizes, oldSize () 和 newSize (), use QSizeF 而不是 QSize .
构造 QGraphicsSceneResizeEvent .
Returns the new size (i.e., the current size).
另请参阅 oldSize () 和 QGraphicsWidget.resize ().
Returns the old size (i.e., the size immediately before the widget was resized).
另请参阅 newSize () 和 QGraphicsWidget.resize ().