6 Component { id: cursorA
8 Behavior on x { NumberAnimation { } }
9 Behavior on y { NumberAnimation { } }
10 Behavior on height { NumberAnimation { duration: 200 } }
11 Rectangle { id: cRectangle; color: "black"; y: 1; width: 1; height: parent.height-2;
12 Rectangle { id:top; color: "black"; width: 3; height: 1; x: -1; y:0}
13 Rectangle { id:bottom; color: "black"; width: 3; height: 1; x: -1; anchors.bottom: parent.bottom;}
15 SequentialAnimation on opacity { running: true; loops: Animation.Infinite;
16 NumberAnimation { to: 0; duration: 500; easing.type: "OutQuad"}
17 NumberAnimation { to: 1; duration: 500; easing.type: "InQuad"}
26 TestTextEdit { id: mainText
28 cursorDelegate: cursorA
31 selectionColor: "lightsteelblue"
32 selectedTextColor: "deeppink"
34 anchors.centerIn: parent