qrc and serachBarWidget
[mdictionary] / src / mdictionary / qml / MyTextLineEdit.qml
1 import Qt 4.7
2
3 Rectangle {
4     id: rectangle1
5     radius: 10
6     border.color: "#000666";
7
8     TextInput {
9         id: text_input1
10         width: rectangle1.width-20
11         height: rectangle1.height*0.6;
12         text: "textInput"
13         transformOrigin: Item.Left
14         anchors.centerIn: parent
15         selectByMouse: true;
16         font.pixelSize: rectangle1.height * .5;
17         onCursorPositionChanged:  moveCursorSelection(cursorPosition);
18     }
19 }