Auf dieser Seite

QQmlPropertyValueSource Class

Die Klasse „QQmlPropertyValueSource“ ist eine Schnittstelle für Quellen von Eigenschaftswerten wie beispielsweise Animationen und Bindungen. Mehr...

Header: #include <QQmlPropertyValueSource>
CMake: find_package(Qt6 REQUIRED COMPONENTS Qml)
target_link_libraries(mytarget PRIVATE Qt6::Qml)
qmake: QT += qml

Öffentliche Funktionen

QQmlPropertyValueSource()
virtual ~QQmlPropertyValueSource()
virtual void setTarget(const QQmlProperty &property) = 0

Ausführliche Beschreibung

Informationen zum Erstellen benutzerdefinierter Quellen für Eigenschaftswerte finden Sie unter „Quellen für Eigenschaftswerte “.

Dokumentation zu den Mitgliedsfunktionen

QQmlPropertyValueSource::QQmlPropertyValueSource()

Erstellt eine `QQmlPropertyValueSource`.

[virtual noexcept] QQmlPropertyValueSource::~QQmlPropertyValueSource()

Löscht die Wertquelle.

[pure virtual] void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)

Legen Sie die Ziel property en für die Wertquelle fest. Diese Methode wird von der QML-Engine bei der Zuweisung einer Wertquelle aufgerufen.

© 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.