QPropertyNotifier Class
Die Klasse QPropertyNotifier steuert den Lebenszyklus von Change Callbacks, die auf QProperty installiert sind. ...
Kopfzeile: | #include <QPropertyNotifier> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Erbt: | QPropertyObserver |
Detaillierte Beschreibung
QPropertyNotifier wird erstellt, wenn ein Callback auf QProperty registriert wird, um auf Änderungen des Eigenschaftswertes zu hören, indem QProperty::addNotifier verwendet wird. Solange der Änderungs-Handler aktiv ist, bleibt der Callback installiert.
Eine Handler-Instanz kann unter Verwendung der Move-Semantik zwischen C++-Bereichen übertragen werden.
© 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.