IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QQmlPropertyValueSource Class

The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QQmlPropertyValueSource Class

  • Header: QQmlPropertyValueSource

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Qml)

    target_link_libraries(mytarget PRIVATE Qt6::Qml)

  • qmake: QT += qml

  • Inherited By:

Detailed Description

See Property Value Sources for information on writing custom property value sources.

Member Function Documentation

 

QQmlPropertyValueSource::QQmlPropertyValueSource()

Constructs a QQmlPropertyValueSource.

[virtual] QQmlPropertyValueSource::~QQmlPropertyValueSource()

Destroys the value source.

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

Set the target property for the value source. This method will be called by the QML engine when assigning a value source.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+