QGraphicsSceneResizeEvent露
The
QGraphicsSceneResizeEventclass provides events for widget resizing in the graphics view framework. More鈥�

Synopsis露
Functions露
def
newSize()def
oldSize()def
setNewSize(size)def
setOldSize(size)
Detailed Description露
A QGraphicsWidget sends itself a
QGraphicsSceneResizeEventimmediately when its geometry changes.It鈥檚 similar to
QResizeEvent, but its sizes,oldSize()andnewSize(), useQSizeFinstead ofQSize.See also
- class PySide2.QtWidgets.QGraphicsSceneResizeEvent露
Constructs a
QGraphicsSceneResizeEvent.
- PySide2.QtWidgets.QGraphicsSceneResizeEvent.newSize()露
- Return type:
Returns the new size (i.e., the current size).
- PySide2.QtWidgets.QGraphicsSceneResizeEvent.oldSize()露
- Return type:
Returns the old size (i.e., the size immediately before the widget was resized).
- PySide2.QtWidgets.QGraphicsSceneResizeEvent.setNewSize(size)露
- Parameters:
size 鈥�
PySide2.QtCore.QSizeF
See also
- PySide2.QtWidgets.QGraphicsSceneResizeEvent.setOldSize(size)露
- Parameters:
size 鈥�
PySide2.QtCore.QSizeF
See also
漏 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.