MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML PauseAnimation Element

The PauseAnimation element provides a pause for an animation. More...

Inherits Animation

This element was introduced in Qt 4.7.

Properties

Detailed Description

When used in a SequentialAnimation, PauseAnimation is a step when nothing happens, for a specified duration.

A 500ms animation sequence, with a 100ms pause between two animations:

 SequentialAnimation {
     NumberAnimation { ... duration: 200 }
     PauseAnimation { duration: 100 }
     NumberAnimation { ... duration: 200 }
 }

See also QML Animation and Transitions and Animation basics example.

Property Documentation

duration : int

This property holds the duration of the pause in milliseconds

The default value is 250.