diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-26 05:57:19 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-28 23:50:08 (GMT) |
commit | fbcf257f0988f1ffef442195acc9f4b4c1527870 (patch) | |
tree | 089261bfcca4caf355276c6caf4ebf27f04f1047 /tests/auto/declarative/visual/qdeclarativetextinput/cursorDelegate.qml | |
parent | 078ff776e37aebe5b7e88e4b4f21da1158fac3c7 (diff) | |
download | Qt-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.qml | 14 |
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; } |