Home · All Classes · All Functions · Overviews

QML PropertyAction Element Reference

[Inherits Animation]

The PropertyAction element allows immediate property changes during animation. More...

Properties

Detailed Description

Explicitly set theimage.smooth=true during a transition:

 PropertyAction { target: theimage; property: "smooth"; value: true }

Set thewebview.url to the value set for the destination state:

 PropertyAction { target: thewebview; property: "url" }

The PropertyAction is immediate - the target property is not animated to the selected value in any way.


Property Documentation

exclude : list<Object>

This property holds the objects not to be affected by this animation.

See also targets.


property : string
properties : string
target : Object
targets : list<Object>

These properties are used as a set to determine which properties should be affected by this action.

The details of how these properties are interpreted in different situations is covered in the corresponding PropertyAnimation documentation.

See also exclude.


target : Object

This property holds an explicit target object to animate.

The exact effect of the target property depends on how the animation is being used. Refer to the animation documentation for details.


value : any

This property holds the value to be set on the property. If not set, then the value defined for the end state of the transition.



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