Sections

Qt Animation Framework

This component adds a convenient API to do animations in Qt. Note that this solution is experimental and work in progress: No backwards compatibility (source nor binary) is provided.

 Please note: This component is deprecated; see the catalog.

The Animation Framework lets you define, run and control animations, states and transitions. The foundation classes QtPropertyAnimation, QtSequentialAnimationGroup and QtParallelAnimationGroupare used to scoreboard both simple and complex animations. A simple animation might change a widget's geometry from one rectangle to another, over the course of 2 seconds, using a linear easing curve. You can daisy-chain animations by adding them to a QtSequentialAnimationGroup, a class that also gives you fine grained control over pauses and combinations of parallel and sequential subanimations. In addition to this, The State Machine Framework lets you define and run state machines.

Documentation:

Overview: Classes:

Tested on:

  • Qt 4.4, 4.5 / Windows XP / MSVC.NET 2008
  • Qt 4.4, 4.5 / Linux (32bit + 64bit) / gcc
  • Qt 4.4, 4.5 / MacOS X 10.5 / gcc

Unsupported platforms:

Only the tested platforms are supported, however the classes should be platform independent and are likely to work on the platforms supported by Qt.

Download Commercial Edition:

Only available for Qt Solutions license holders with a valid Support and Maintenance agreement (authentication required).

Download Open Source Edition (LGPL):

Changes:

  • 2.3: Removed QAnimationState, added QtAbstractTransition::addAnimation(). Removed QtStateSetPropertyAction.
  • 2.2: Renamed QtAnimation to QtVariantAnimation. API changes in QtVariantAnimation, QtAnimationGroup and QtSequentialAnimationGroup. Bugfixes.
  • 2.1: LGPL release. (No code changes.)
  • 2.0: Split of QtAnimationGroup into QtSequentialAnimationGroup and QtParallelAnimationGroup.
  • 2.0: Refactored out some code from QtAnimation into the new class QtPropertyAnimation.
  • 1.0: Initial version.
Document Actions