summaryrefslogtreecommitdiffstats
path: root/examples/declarative/layouts/positioners.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-11-06 02:01:41 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-11-06 02:45:33 (GMT)
commitaff81e3fb3253d99cb42f68d08b2979d946153f4 (patch)
treef31df9c200cb2a59940b7a8f9c8815b303b6eab3 /examples/declarative/layouts/positioners.qml
parentcf6bc08676638b01c0f8a40e001b8fb303aaa5f5 (diff)
downloadQt-aff81e3fb3253d99cb42f68d08b2979d946153f4.zip
Qt-aff81e3fb3253d99cb42f68d08b2979d946153f4.tar.gz
Qt-aff81e3fb3253d99cb42f68d08b2979d946153f4.tar.bz2
Rename targets -> matchTargets and properties -> matchProperties.
Diffstat (limited to 'examples/declarative/layouts/positioners.qml')
-rw-r--r--examples/declarative/layouts/positioners.qml26
1 files changed, 13 insertions, 13 deletions
diff --git a/examples/declarative/layouts/positioners.qml b/examples/declarative/layouts/positioners.qml
index 90efde2..129effe 100644
--- a/examples/declarative/layouts/positioners.qml
+++ b/examples/declarative/layouts/positioners.qml
@@ -11,17 +11,17 @@ Rectangle {
y: 0
move: Transition {
NumberAnimation {
- properties: "y"; easing: "easeOutBounce"
+ matchProperties: "y"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "y"; from: 500; duration:500; easing: "easeOutQuad"
+ matchProperties: "y"; from: 500; duration:500; easing: "easeOutQuad"
}
}
remove: Transition {
NumberAnimation {
- properties:"y"; to: 500; duration:500; easing: "easeInQuad"
+ matchProperties:"y"; to: 500; duration:500; easing: "easeInQuad"
}
}
Rectangle { color: "red"; width: 100; height: 50; border.color: "black"; radius: 15 }
@@ -36,23 +36,23 @@ Rectangle {
y: 300
move: Transition {
NumberAnimation {
- properties: "x"; easing: "easeOutBounce"
+ matchProperties: "x"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "x"; from: 500; duration:500; easing: "easeOutQuad"
+ matchProperties: "x"; from: 500; duration:500; easing: "easeOutQuad"
}
NumberAnimation {
- properties: "opacity"; from: 0; duration: 500;
+ matchProperties: "opacity"; from: 0; duration: 500;
}
}
remove: Transition {
NumberAnimation {
- properties: "x"; to: 500; duration:500; easing: "easeInQuad"
+ matchProperties: "x"; to: 500; duration:500; easing: "easeInQuad"
}
NumberAnimation {
- properties: "opacity"; from: 1; duration: 500
+ matchProperties: "opacity"; from: 1; duration: 500
}
}
Rectangle { color: "red"; width: 50; height: 100; border.color: "black"; radius: 15 }
@@ -103,25 +103,25 @@ Rectangle {
remove: Transition {
NumberAnimation {
- properties: "opacity"; from: 1; to: 0; duration: 500
+ matchProperties: "opacity"; from: 1; to: 0; duration: 500
}
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ matchProperties: "x,y"; easing: "easeOutBounce"
}
}
move: Transition {
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ matchProperties: "x,y"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- properties: "opacity"; from: 0; to: 1; duration: 500
+ matchProperties: "opacity"; from: 0; to: 1; duration: 500
}
NumberAnimation {
- properties: "x,y"; easing: "easeOutBounce"
+ matchProperties: "x,y"; easing: "easeOutBounce"
}
}