QChildWindowEvent Class
QChildWindowEvent 클래스에는 자식 창의 변경 사항에 대한 이벤트 매개변수가 포함되어 있습니다. 더 보기...
| 헤더: | #include <QChildWindowEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 다음부터: | Qt 6.7 |
| 상속: | QEvent |
- 상속된 멤버를 포함한 모든 멤버 목록
- QChildWindowEvent는 이벤트 클래스의 일부입니다.
공개 함수
| QChildWindowEvent(QEvent::Type type, QWindow *childWindow) | |
| QWindow * | child() const |
보호 함수
| QChildWindowEvent(QChildWindowEvent &&) | |
| QChildWindowEvent & | operator=(QChildWindowEvent &&) |
| QChildWindowEvent & | operator=(const QChildWindowEvent &other) |
상세 설명
자식 창 이벤트는 자식이 추가되거나 제거될 때 창으로 전송됩니다.
두 경우 모두 자식 창이 ` QWindow `이어야 하며, 그 하위 클래스는 아닙니다. 이는 ` QEvent::ChildWindowAdded `의 경우 하위 클래스가 아직 완전히 생성되지 않았고, ` QEvent::ChildWindowRemoved `의 경우 이미 소멸되었을 수도 있기 때문입니다.
멤버 함수 문서
[explicit] QChildWindowEvent::QChildWindowEvent(QEvent::Type type, QWindow *childWindow)
childWindow 에 대해 특정 type 의 자식 창 이벤트 객체를 생성합니다.
type QEvent::ChildWindowAdded 또는 일 수 있습니다. QEvent::ChildWindowRemoved
child()도 참조하십시오 .
[protected delete] QChildWindowEvent::QChildWindowEvent(QChildWindowEvent &&)
QChildWindowEvent 의 인스턴스를 move-construct로 생성합니다. 이 함수는 삭제되었습니다.
QWindow *QChildWindowEvent::child() const
추가되거나 제거된 자식 창을 반환합니다.
[protected delete] QChildWindowEvent &QChildWindowEvent::operator=(QChildWindowEvent &&)
other 를 이 QChildWindowEvent 인스턴스에 할당합니다. 이 함수는 삭제됩니다.
[noexcept protected default] QChildWindowEvent &QChildWindowEvent::operator=(const QChildWindowEvent &other)
other 를 이 QChildWindowEvent 인스턴스에 복사-할당합니다.
© 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.