Home · All Classes · All Functions · Overviews

QML ColorAnimation Element Reference

[Inherits PropertyAnimation]

The ColorAnimation element allows you to animate color changes. More...

Properties

Detailed Description

 ColorAnimation { from: "white"; to: "#c0c0c0"; duration: 100 }

When used in a transition, ColorAnimation will by default animate all properties of type color that are changing. If a property or properties are explicitly set for the animation, then those will be used instead.


Property Documentation

from : color

This property holds the starting color.


to : color

This property holds the ending color.



Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0