QPropertyNotifier Class
QPropertyNotifier 클래스는 QProperty 에 설치된 변경 콜백의 수명 주기를 제어합니다... .
헤더: | #include <QPropertyNotifier> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
상속합니다: | Q프로퍼티옵저버 |
상세 설명
QPropertyNotifier는 QProperty::addNotifier 을 사용하여 속성 값의 변경을 수신하기 위해 QProperty 에 콜백을 등록할 때 생성됩니다. 변경 핸들러가 살아있는 한 콜백은 설치된 상태로 유지됩니다.
핸들러 인스턴스는 이동 시맨틱을 사용하여 C++ 스코프 간에 전송할 수 있습니다.
© 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.