PauseAnimation Element Reference

The PauseAnimation element provides a pause for an animation.

[Inherits Animation]

This element was introduced in Qt 4.7.

Detailed Description

The PauseAnimation element provides a pause for an animation.

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:

  1. SequentialAnimation  {
  2.     NumberAnimation  { ... duration: 200 }
  3.     PauseAnimation  { duration: 100 }
  4.     NumberAnimation  { ... duration: 200 }
  5. }

Properties

Property Documentation

  • duration : int

This property holds the duration of the pause in milliseconds

The default value is 250.

Notes provided by the Qt Community

No notes