Qt Reference Documentation

QML PauseAnimation Element

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

Inherits Animation

  • List of all members, including inherited members
  • 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 Animation basics example.

    Property Documentation

    duration : int

    This property holds the duration of the pause in milliseconds

    The default value is 250.


    X

    Thank you for giving your feedback.

    Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.