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

Timeline QML Type

A timeline.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Timeline QML Type

  • Import Statement: import QtQuick.Timeline 1.0

  • Inherits:: QtObject

  • Group: Timeline is part of qtqmltypes

Detailed Description

Specifies a timeline with a range of keyframes that contain values for the properties of an object. The timeline allows specifying the values of items depending on keyframes and their easing curves.

A timeline can be either used for animations or to control the behavior of items.

For example, it is possible to create a progress bar where the current frame reflects the progress.

Property Documentation

 

[read-only] animations : list

A list of animations attached to the timeline.

currentFrame : double

The current keyframe on the timeline. The current keyframe can be animated or a binding can be attached to it. Using bindings allows controlling the behavior of components.

enabled : bool

Whether the timeline is enabled.

When the timeline is disabled, all items will have their regular values. When the timeline is enabled, the values of items are determined by the current frame and the keyframes.

Only one timeline should be active at a particular time.

endFrame : double

The end of the timeline.

[read-only] keyframes : list

This property contains the keyframe groups attached to the timeline. Each keyframe group contains a list of keyframes for a specific item and property.

startFrame : double

The start of the timeline.

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