summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/mobile/GridDelegate.qml
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-05-12 13:12:13 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-05-12 13:12:13 (GMT)
commitbd11cdf472674af3b00d7d64c64023adbf5ee725 (patch)
tree99eb333a12f7e0d109b9ce9ff51120c612669d7a /demos/declarative/flickr/mobile/GridDelegate.qml
parent50fa9ebe8fc0e7eca7536a8663c86cd6b98b2c04 (diff)
parent0ebc9783d8ca0c4b27208bbc002c53c52c19ab4c (diff)
downloadQt-bd11cdf472674af3b00d7d64c64023adbf5ee725.zip
Qt-bd11cdf472674af3b00d7d64c64023adbf5ee725.tar.gz
Qt-bd11cdf472674af3b00d7d64c64023adbf5ee725.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'demos/declarative/flickr/mobile/GridDelegate.qml')
-rw-r--r--demos/declarative/flickr/mobile/GridDelegate.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/flickr/mobile/GridDelegate.qml b/demos/declarative/flickr/mobile/GridDelegate.qml
index 5ab7b87..df608bc 100644
--- a/demos/declarative/flickr/mobile/GridDelegate.qml
+++ b/demos/declarative/flickr/mobile/GridDelegate.qml
@@ -21,7 +21,7 @@
Item {
anchors.centerIn: parent
scale: 0.0
- Behavior on scale { NumberAnimation { easing.type: "InOutQuad"} }
+ Behavior on scale { NumberAnimation { easing.type: Easing.InOutQuad} }
id: scaleMe
Rectangle { height: 79; width: 79; id: blackRect; anchors.centerIn: parent; color: "black"; smooth: true }
@@ -38,7 +38,7 @@
states: [
State {
- name: "Show"; when: thumb.status == 1
+ name: "Show"; when: thumb.status == Image.Ready
PropertyChanges { target: scaleMe; scale: 1 }
},
State {
@@ -53,14 +53,14 @@
Transition {
from: "Show"; to: "Details"
ParentAnimation {
- NumberAnimation { properties: "x,y"; duration: 500; easing.type: "InOutQuad" }
+ NumberAnimation { properties: "x,y"; duration: 500; easing.type: Easing.InOutQuad }
}
},
Transition {
from: "Details"; to: "Show"
SequentialAnimation {
ParentAnimation {
- NumberAnimation { properties: "x,y"; duration: 500; easing.type: "InOutQuad" }
+ NumberAnimation { properties: "x,y"; duration: 500; easing.type: Easing.InOutQuad }
}
PropertyAction { targets: wrapper; properties: "z" }
}