QAnimationCallback Class
class Qt3DAnimation::QAnimationCallbackStellt ein Animations-Callback-Objekt dar. Mehr...
Kopfzeile: | #include <QAnimationCallback> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
qmake: | QT += 3danimation |
Status: | Veraltet |
Öffentliche Typen
Öffentliche Funktionen
virtual void | valueChanged(const QVariant &value) = 0 |
Dokumentation der Mitgliedstypen
enum QAnimationCallback::Flag
flags QAnimationCallback::Flags
Flags, die angeben, wie die Funktion valueChanged() aufgerufen wird.
Konstante | Wert | Beschreibung |
---|---|---|
Qt3DAnimation::QAnimationCallback::OnOwningThread | 0x0 | Callback-Funktion wird auf dem eigenen (GUI oder Haupt-) Thread aufgerufen. |
Qt3DAnimation::QAnimationCallback::OnThreadPool | 0x01 | Die Callback-Funktion wird auf dem Worker-Thread des Thread-Pools aufgerufen. |
Der Typ Flags ist ein Typedef für QFlags<Flag>. Er speichert eine OR-Kombination von Flag-Werten.
Dokumentation der Mitgliedsfunktionen
[pure virtual]
void QAnimationCallback::valueChanged(const QVariant &value)
Callback-Funktion, die bei Änderungen in der animierten value ausgelöst wird.
Siehe auch QCallbackMapping::setCallback().
© 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.