The PySide.QtGui.QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework.
A PySide.QtGui.QGraphicsWidget sends itself a PySide.QtGui.QGraphicsSceneResizeEvent immediately when its geometry changes.
It’s similar to PySide.QtGui.QResizeEvent , but its sizes, PySide.QtGui.QGraphicsSceneResizeEvent.oldSize() and PySide.QtGui.QGraphicsSceneResizeEvent.newSize() , use PySide.QtCore.QSizeF instead of PySide.QtCore.QSize .
Constructs a PySide.QtGui.QGraphicsSceneResizeEvent .
Return type: | PySide.QtCore.QSizeF |
---|
Returns the new size (i.e., the current size).
Return type: | PySide.QtCore.QSizeF |
---|
Returns the old size (i.e., the size immediately before the widget was resized).
Parameters: | size – PySide.QtCore.QSizeF |
---|
Parameters: | size – PySide.QtCore.QSizeF |
---|