diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-06 02:01:41 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-06 02:45:33 (GMT) |
commit | aff81e3fb3253d99cb42f68d08b2979d946153f4 (patch) | |
tree | f31df9c200cb2a59940b7a8f9c8815b303b6eab3 /examples/declarative/snow | |
parent | cf6bc08676638b01c0f8a40e001b8fb303aaa5f5 (diff) | |
download | Qt-aff81e3fb3253d99cb42f68d08b2979d946153f4.zip Qt-aff81e3fb3253d99cb42f68d08b2979d946153f4.tar.gz Qt-aff81e3fb3253d99cb42f68d08b2979d946153f4.tar.bz2 |
Rename targets -> matchTargets and properties -> matchProperties.
Diffstat (limited to 'examples/declarative/snow')
-rw-r--r-- | examples/declarative/snow/ImageBatch.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml index 95b9b97..1d738b2 100644 --- a/examples/declarative/snow/ImageBatch.qml +++ b/examples/declarative/snow/ImageBatch.qml @@ -23,7 +23,7 @@ GridView { transitions: Transition { SequentialAnimation { PauseAnimation { duration: 150 } - PropertyAction { properties: "z" } + PropertyAction { matchProperties: "z" } } } model: XmlListModel { @@ -42,7 +42,7 @@ GridView { width: grid.imageWidth; height: grid.imageHeight; Image { id: flickrImage; source: url; fillMode: Image.PreserveAspectFit; smooth: true; anchors.fill: parent; - opacity: (status == Image.Ready)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } } + opacity: (status == Image.Ready)?1:0; opacity: Behavior { NumberAnimation { } } } Loading { anchors.centerIn: parent; visible: flickrImage.status!=1 } states: State { @@ -55,15 +55,15 @@ GridView { to: "selected" SequentialAnimation { PauseAnimation { duration: 150 } - PropertyAction { properties: "z" } - NumberAnimation { properties: "scale"; duration: 150; } + PropertyAction { matchProperties: "z" } + NumberAnimation { matchProperties: "scale"; duration: 150; } } }, Transition { from: "selected" SequentialAnimation { - NumberAnimation { properties: "scale"; duration: 150 } - PropertyAction { properties: "z" } + NumberAnimation { matchProperties: "scale"; duration: 150 } + PropertyAction { matchProperties: "z" } } } ] |