QResizeEvent Class
QResizeEvent クラスには、サイズ変更イベントに関するイベントパラメータが含まれています。詳細...
| ヘッダー: | #include <QResizeEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 継承元: | QEvent |
- 継承されたメンバーを含むすべてのメンバーの一覧
- QResizeEvent はEvent クラス群の一部です。
パブリック関数
| QResizeEvent(const QSize &size, const QSize &oldSize) | |
| const QSize & | oldSize() const |
| const QSize & | size() const |
保護関数
| QResizeEvent(QResizeEvent &&) | |
| QResizeEvent & | operator=(QResizeEvent &&) |
| QResizeEvent & | operator=(const QResizeEvent &other) |
QWidget::resize() およびQWidget::setGeometry()も参照してください 。
メンバ関数のドキュメント
QResizeEvent::QResizeEvent(const QSize &size, const QSize &oldSize)
新しいウィジェットのサイズと古いウィジェットのサイズ(それぞれsize およびoldSize )を使用して、サイズ変更イベントを作成します。
[protected delete] QResizeEvent::QResizeEvent(QResizeEvent &&)
QResizeEvent のインスタンスをMoveコンストラクタで生成します。この関数は削除されています。
const QSize &QResizeEvent::oldSize() const
ウィジェットの以前のサイズを返します。
const QSize &QResizeEvent::size() const
ウィジェットの新しいサイズを返します。これは、QWidget::size() と同じ動作をします。
[protected delete] QResizeEvent &QResizeEvent::operator=(QResizeEvent &&)
other をこのQResizeEvent インスタンスに割り当てます。この関数は削除されます。
[noexcept protected default] QResizeEvent &QResizeEvent::operator=(const QResizeEvent &other)
other を、このQResizeEvent インスタンスにコピーして割り当てます。
© 2026 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.