The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework. More...
Header: | #include <QGraphicsSceneResizeEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
Inherits: | QGraphicsSceneEvent |
QGraphicsSceneResizeEvent() | |
virtual | ~QGraphicsSceneResizeEvent() |
QSizeF | newSize() const |
QSizeF | oldSize() const |
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.
[virtual]
QGraphicsSceneResizeEvent::~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().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: