6 border.color: "#000666";
7 property alias textInLineEdit:text_input1.text
9 signal enterPressed(string text);
11 function setText(string) { textInLineEdit = string; }
15 width: rectangle1.width-20
16 height: rectangle1.height*0.6;
18 transformOrigin: Item.Left
19 anchors.centerIn: parent
21 font.pixelSize: rectangle1.height * .5;
22 onCursorPositionChanged: moveCursorSelection(cursorPosition);
23 activeFocusOnPress: true;
25 if ((event.key == Qt.Key_Enter) || (event.key == Qt.Key_Return))
26 rectangle1.enterPressed(text_input1.text)
32 anchors.centerIn: parent;
37 height: parent.height;
42 name: "FokusState"; when: text_input1.focus==true && rectangle1.enabled==true;
49 name: "DisableState"; when: rectangle1.enabled==false;
50 PropertyChanges { target: shadeDisable; z: 3; opacity: 0.5 }