summaryrefslogtreecommitdiffstats
path: root/examples/declarative/layouts
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 /examples/declarative/layouts
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 'examples/declarative/layouts')
-rw-r--r--examples/declarative/layouts/Button.qml2
-rw-r--r--examples/declarative/layouts/positioners.qml16
2 files changed, 9 insertions, 9 deletions
diff --git a/examples/declarative/layouts/Button.qml b/examples/declarative/layouts/Button.qml
index 0bdb9fc..7cbf68a 100644
--- a/examples/declarative/layouts/Button.qml
+++ b/examples/declarative/layouts/Button.qml
@@ -17,6 +17,6 @@ Rectangle { border.color: "black"; color: "steelblue"; radius: 5; width: pix.wid
transitions:
Transition{
- NumberAnimation { properties:"x,left"; easing:"easeInOutQuad"; duration:200 }
+ NumberAnimation { properties:"x,left"; easing.type:"InOutQuad"; duration:200 }
}
}
diff --git a/examples/declarative/layouts/positioners.qml b/examples/declarative/layouts/positioners.qml
index fefd964..7146702 100644
--- a/examples/declarative/layouts/positioners.qml
+++ b/examples/declarative/layouts/positioners.qml
@@ -11,12 +11,12 @@ Rectangle {
y: 0
move: Transition {
NumberAnimation {
- properties: "y"; easing: "easeOutBounce"
+ properties: "y"; easing.type: "OutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "y"; easing: "easeOutQuad"
+ properties: "y"; easing.type: "OutQuad"
}
}
Rectangle { color: "red"; width: 100; height: 50; border.color: "black"; radius: 15 }
@@ -35,12 +35,12 @@ Rectangle {
y: 300
move: Transition {
NumberAnimation {
- properties: "x"; easing: "easeOutBounce"
+ properties: "x"; easing.type: "OutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "x"; easing: "easeOutQuad"
+ properties: "x"; easing.type: "OutQuad"
}
}
Rectangle { color: "red"; width: 50; height: 100; border.color: "black"; radius: 15 }
@@ -101,13 +101,13 @@ Rectangle {
move: Transition {
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing.type: "OutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing.type: "OutBounce"
}
}
@@ -136,13 +136,13 @@ Rectangle {
move: Transition {
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing.type: "OutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing.type: "OutBounce"
}
}
Rectangle { color: "red"; width: 50; height: 50; border.color: "black"; radius: 15 }