summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-23 07:25:10 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-23 08:12:08 (GMT)
commit9701facad44f8e435f0efe6417ffb7d17d5712e7 (patch)
treeee76ea7b313078b4ec6753f28b9ea6bf153aadc2 /demos/declarative/webbrowser
parent0a7ca8efdd292f317d4c95a80485d9d51f14a694 (diff)
downloadQt-9701facad44f8e435f0efe6417ffb7d17d5712e7.zip
Qt-9701facad44f8e435f0efe6417ffb7d17d5712e7.tar.gz
Qt-9701facad44f8e435f0efe6417ffb7d17d5712e7.tar.bz2
Updates all qml examples/demos to use the easing curve value type syntax
Diffstat (limited to 'demos/declarative/webbrowser')
-rw-r--r--demos/declarative/webbrowser/content/FlickableWebView.qml6
-rw-r--r--demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml2
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml4
3 files changed, 6 insertions, 6 deletions
diff --git a/demos/declarative/webbrowser/content/FlickableWebView.qml b/demos/declarative/webbrowser/content/FlickableWebView.qml
index 7c46d4c..b60a95f 100644
--- a/demos/declarative/webbrowser/content/FlickableWebView.qml
+++ b/demos/declarative/webbrowser/content/FlickableWebView.qml
@@ -104,14 +104,14 @@ Flickable {
property: "scale"
from: 1
to: 0 // set before calling
- easing: "easeLinear"
+ easing.type: "Linear"
duration: 200
}
NumberAnimation {
id: flickVX
target: flickable
property: "viewportX"
- easing: "easeLinear"
+ easing.type: "Linear"
duration: 200
from: 0 // set before calling
to: 0 // set before calling
@@ -120,7 +120,7 @@ Flickable {
id: flickVY
target: flickable
property: "viewportY"
- easing: "easeLinear"
+ easing.type: "Linear"
duration: 200
from: 0 // set before calling
to: 0 // set before calling
diff --git a/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml b/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml
index e58ab0a..f905150 100644
--- a/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml
+++ b/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml
@@ -98,7 +98,7 @@ Image {
NumberAnimation {
targets: header
properties: "progressOff"
- easing: "easeInOutQuad"
+ easing.type: "InOutQuad"
duration: 300
}
}
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index 934593c..faafd5d 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -98,7 +98,7 @@ Item {
Transition {
NumberAnimation {
properties: "opacity"
- easing: "easeInOutQuad"
+ easing.type: "InOutQuad"
duration: 300
}
}
@@ -154,7 +154,7 @@ Item {
Transition {
NumberAnimation {
properties: "opacity"
- easing: "easeInOutQuad"
+ easing.type: "InOutQuad"
duration: 320
}
}