QGraphicsSceneResizeEvent

Inheritance diagram of PySide2.QtWidgets.QGraphicsSceneResizeEvent

Synopsis

Functions

Detailed Description

class PySide2.QtWidgets.QGraphicsSceneResizeEvent

Constructs a PySide2.QtWidgets.QGraphicsSceneResizeEvent .

PySide2.QtWidgets.QGraphicsSceneResizeEvent.newSize()
Return type:PySide2.QtCore.QSizeF

Returns the new size (i.e., the current size).

PySide2.QtWidgets.QGraphicsSceneResizeEvent.oldSize()
Return type:PySide2.QtCore.QSizeF

Returns the old size (i.e., the size immediately before the widget was resized).

PySide2.QtWidgets.QGraphicsSceneResizeEvent.setNewSize(size)
Parameters:sizePySide2.QtCore.QSizeF
PySide2.QtWidgets.QGraphicsSceneResizeEvent.setOldSize(size)
Parameters:sizePySide2.QtCore.QSizeF