Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

QGraphicsSceneResizeEvent Class

TheQGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framework.More...

Header:#include <QGraphicsSceneResizeEvent>
Since: Qt 4.4
Inherits:QGraphicsSceneEvent

Public Functions

Additional Inherited Members

  • 1 property inherited fromQEvent
  • 1 static public member inherited fromQEvent

Detailed Description

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().

Member Function Documentation

QGraphicsSceneResizeEvent::QGraphicsSceneResizeEvent()

Constructs aQGraphicsSceneResizeEvent.

QGraphicsSceneResizeEvent::~QGraphicsSceneResizeEvent()

Destroys theQGraphicsSceneResizeEvent.

QSizeF QGraphicsSceneResizeEvent::newSize() const

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

See alsooldSize() andQGraphicsWidget::resize().

QSizeF QGraphicsSceneResizeEvent::oldSize() const

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.


[8]ページ先頭

©2009-2025 Movatter.jp