
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework.More...
| Header: | #include <QGraphicsSceneResizeEvent> |
| Since: | Qt 4.4 |
| Inherits: | QGraphicsSceneEvent |
| QGraphicsSceneResizeEvent() | |
| ~QGraphicsSceneResizeEvent() | |
| QSizeF | newSize() const |
| QSizeF | oldSize() const |
TheQGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework.
AQGraphicsWidget sends itself aQGraphicsSceneResizeEvent immediately when its geometry changes.
It's similar toQResizeEvent, but its sizes,oldSize() andnewSize(), useQSizeF instead ofQSize.
See alsoQGraphicsWidget::setGeometry() andQGraphicsWidget::resize().
Constructs aQGraphicsSceneResizeEvent.
Destroys theQGraphicsSceneResizeEvent.
Returns the new size (i.e., the current size).
See alsooldSize() andQGraphicsWidget::resize().
Returns the old size (i.e., the size immediately before the widget was resized).
See alsonewSize() andQGraphicsWidget::resize().
© 2016 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 theGNU 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.