summaryrefslogtreecommitdiffstats
path: root/examples/declarative/layouts/positioners.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-02-16 01:59:27 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-02-18 05:17:13 (GMT)
commitad2b2c698d90d04aebe1f6d05c3a4eb992c0e7b6 (patch)
tree144a7a8f3208d9388b8666d26aa0a231b325b87f /examples/declarative/layouts/positioners.qml
parent635b329592f26d64eeb6212b6056249b15293dcf (diff)
downloadQt-ad2b2c698d90d04aebe1f6d05c3a4eb992c0e7b6.zip
Qt-ad2b2c698d90d04aebe1f6d05c3a4eb992c0e7b6.tar.gz
Qt-ad2b2c698d90d04aebe1f6d05c3a4eb992c0e7b6.tar.bz2
Get rid of the matchProperties/properties distinction, as it
has proven to be confusing in practice. property/target and properties/targets will be functionally equivilant (the only distinction being singular/plural). In a transition these properties can be used for both 'matching' and explicit animation based on whether a 'to' value is supplied. The documentation, tests, examples and demos have been updated as well.
Diffstat (limited to 'examples/declarative/layouts/positioners.qml')
-rw-r--r--examples/declarative/layouts/positioners.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/declarative/layouts/positioners.qml b/examples/declarative/layouts/positioners.qml
index 46762f7..fefd964 100644
--- a/examples/declarative/layouts/positioners.qml
+++ b/examples/declarative/layouts/positioners.qml
@@ -11,12 +11,12 @@ Rectangle {
y: 0
move: Transition {
NumberAnimation {
- matchProperties: "y"; easing: "easeOutBounce"
+ properties: "y"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- matchProperties: "y"; easing: "easeOutQuad"
+ properties: "y"; easing: "easeOutQuad"
}
}
Rectangle { color: "red"; width: 100; height: 50; border.color: "black"; radius: 15 }
@@ -35,12 +35,12 @@ Rectangle {
y: 300
move: Transition {
NumberAnimation {
- matchProperties: "x"; easing: "easeOutBounce"
+ properties: "x"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- matchProperties: "x"; easing: "easeOutQuad"
+ properties: "x"; easing: "easeOutQuad"
}
}
Rectangle { color: "red"; width: 50; height: 100; border.color: "black"; radius: 15 }
@@ -101,13 +101,13 @@ Rectangle {
move: Transition {
NumberAnimation {
- matchProperties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- matchProperties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing: "easeOutBounce"
}
}
@@ -136,13 +136,13 @@ Rectangle {
move: Transition {
NumberAnimation {
- matchProperties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing: "easeOutBounce"
}
}
add: Transition {
NumberAnimation {
- matchProperties: "x,y"; easing: "easeOutBounce"
+ properties: "x,y"; easing: "easeOutBounce"
}
}
Rectangle { color: "red"; width: 50; height: 50; border.color: "black"; radius: 15 }