The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework. More...
#include <QGraphicsSceneResizeEvent>
Inherits: QGraphicsSceneEvent.
This class was introduced in Qt 4.4.
QGraphicsSceneResizeEvent () | |
~QGraphicsSceneResizeEvent () | |
QSizeF | newSize () const |
QSizeF | oldSize () const |
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework.
A QGraphicsWidget sends itself a QGraphicsSceneResizeEvent immediately when its geometry changes.
It's similar to QResizeEvent, but its sizes, oldSize() and newSize(), use QSizeF instead of QSize.
See also QGraphicsWidget::setGeometry() and QGraphicsWidget::resize().
Constructs a QGraphicsSceneResizeEvent.
Destroys the QGraphicsSceneResizeEvent.
Returns the new size (i.e., the current size).
See also oldSize() and QGraphicsWidget::resize().
Returns the old size (i.e., the size immediately before the widget was resized).
See also newSize() and QGraphicsWidget::resize().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.