QResizeEvent Class
QResizeEvent 클래스에는 크기 조정 이벤트에 대한 이벤트 매개 변수가 포함되어 있습니다. 더 보기...
Header: | #include <QResizeEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
상속합니다: | QEvent |
- 상속된 멤버를 포함한 모든 멤버 목록
- QResizeEvent는 이벤트 클래스의 일부입니다.
공용 함수
QResizeEvent(const QSize &size, const QSize &oldSize) | |
const QSize & | oldSize() const |
const QSize & | size() const |
QWidget::resize() 및 QWidget::setGeometry()도 참조하세요 .
멤버 함수 문서
QResizeEvent::QResizeEvent(const QSize &size, const QSize &oldSize)
새 위젯 크기와 이전 위젯 크기( size 및 oldSize )로 각각 크기 조정 이벤트를 생성합니다.
const QSize &QResizeEvent::oldSize() const
위젯의 이전 크기를 반환합니다.
const QSize &QResizeEvent::size() const
위젯의 새 크기를 반환합니다. QWidget::size ()와 동일합니다.
© 2025 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.