summaryrefslogtreecommitdiffstats
path: root/demos/declarative/photoviewer
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-05 06:22:51 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-05-05 06:23:55 (GMT)
commitf5e3e21e95275a8cf31cddf2063dfa497e92872e (patch)
treea7a2c41b884f6faeef6678c410006623eb714e23 /demos/declarative/photoviewer
parentd6597781a658ba9546bc56f4f3079234c0790e1d (diff)
downloadQt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.zip
Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.tar.gz
Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.tar.bz2
Use enum rather than string for easing type.
Diffstat (limited to 'demos/declarative/photoviewer')
-rw-r--r--demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml b/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
index d39b7bc..142735f 100644
--- a/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
+++ b/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
@@ -78,11 +78,11 @@ Component {
]
GridView.onAdd: NumberAnimation {
- target: albumWrapper; properties: "scale"; from: 0.0; to: 1.0; easing.type: "OutQuad"
+ target: albumWrapper; properties: "scale"; from: 0.0; to: 1.0; easing.type: Easing.OutQuad
}
GridView.onRemove: SequentialAnimation {
PropertyAction { target: albumWrapper; property: "GridView.delayRemove"; value: true }
- NumberAnimation { target: albumWrapper; property: "scale"; from: 1.0; to: 0.0; easing.type: "OutQuad" }
+ NumberAnimation { target: albumWrapper; property: "scale"; from: 1.0; to: 0.0; easing.type: Easing.OutQuad }
PropertyAction { target: albumWrapper; property: "GridView.delayRemove"; value: false }
}
@@ -92,12 +92,12 @@ Component {
SequentialAnimation {
NumberAnimation { properties: 'opacity'; duration: 250 }
PauseAnimation { duration: 350 }
- NumberAnimation { target: backButton; properties: "y"; duration: 200; easing.type: "OutQuad" }
+ NumberAnimation { target: backButton; properties: "y"; duration: 200; easing.type: Easing.OutQuad }
}
},
Transition {
from: 'inGrid'; to: '*'
- NumberAnimation { properties: "y,opacity"; easing.type: "OutQuad"; duration: 300 }
+ NumberAnimation { properties: "y,opacity"; easing.type: Easing.OutQuad; duration: 300 }
}
]
}