summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-26 05:57:19 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-28 23:50:08 (GMT)
commitfbcf257f0988f1ffef442195acc9f4b4c1527870 (patch)
tree089261bfcca4caf355276c6caf4ebf27f04f1047 /tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml
parent078ff776e37aebe5b7e88e4b4f21da1158fac3c7 (diff)
downloadQt-fbcf257f0988f1ffef442195acc9f4b4c1527870.zip
Qt-fbcf257f0988f1ffef442195acc9f4b4c1527870.tar.gz
Qt-fbcf257f0988f1ffef442195acc9f4b4c1527870.tar.bz2
Syntax and other small fixes for the visual tests.
Diffstat (limited to 'tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml')
-rw-r--r--tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml b/tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml
index 199f71f..09f16ab 100644
--- a/tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml
+++ b/tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml
@@ -3,17 +3,17 @@ import Qt 4.6
resources: [
Component { id: cursorA
Item { id: cPage;
- x: Behavior { NumberAnimation { } }
- y: Behavior { NumberAnimation { } }
- height: Behavior { NumberAnimation { duration: 200 } }
+ Behavior on x { NumberAnimation { } }
+ Behavior on y { NumberAnimation { } }
+ Behavior on height { NumberAnimation { duration: 200 } }
Rectangle { id: cRectangle; color: "black"; y: 1; width: 1; height: parent.height-2;
Rectangle { id:top; color: "black"; width: 3; height: 1; x: -1; y:0}
Rectangle { id:bottom; color: "black"; width: 3; height: 1; x: -1; anchors.bottom: parent.bottom;}
opacity: 1
- opacity: SequentialAnimation { running: cPage.parent.focus == true; loops: Animation.Infinite;
- NumberAnimation { properties: "opacity"; to: 1; duration: 500; easing.type: "InQuad"}
- NumberAnimation { properties: "opacity"; to: 0; duration: 500; easing.type: "OutQuad"}
- }
+ SequentialAnimation on opacity { running: cPage.parent.focus == true; loops: Animation.Infinite;
+ NumberAnimation { properties: "opacity"; to: 1; duration: 500; easing.type: "InQuad"}
+ NumberAnimation { properties: "opacity"; to: 0; duration: 500; easing.type: "OutQuad"}
+ }
}
width: 1;
}