summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-05-13 05:09:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-05-13 05:09:35 (GMT)
commit58ed26c320fba396c71a809ed61853683ebe696a (patch)
tree0deedcd64de2534db0ec3ee5af1342ce7494836f /tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml
parentae8e4afcadc9ff084e1d1859c29fbc8b629e3392 (diff)
parentffdb6fcca3bf8f4cc97f8bfe09a43811c29a7dbe (diff)
downloadQt-58ed26c320fba396c71a809ed61853683ebe696a.zip
Qt-58ed26c320fba396c71a809ed61853683ebe696a.tar.gz
Qt-58ed26c320fba396c71a809ed61853683ebe696a.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml b/tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml
new file mode 100644
index 0000000..f1a3ef7
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/animation/qtbug10586/qtbug10586.qml
@@ -0,0 +1,27 @@
+import Qt 4.7
+
+Rectangle {
+ width: 200
+ height: 400
+ Flickable {
+ id: flick
+ anchors.fill: parent
+ contentWidth: 1000; contentHeight: parent.height
+ Rectangle {
+ border.color: "black"
+ border.width: 10
+ width: 1000; height: 1000
+ rotation: 90
+ gradient: Gradient {
+ GradientStop { position: 0; color: "black" }
+ GradientStop { position: 1; color: "white" }
+ }
+ }
+ }
+ Rectangle {
+ color: "red"
+ width: 100; height: 100
+ y: flick.contentX < 10 ? 300 : 0
+ Behavior on y { NumberAnimation {} }
+ }
+}