6 property alias text : input.text
7 property alias echoMode : input.echoMode
8 property alias inputFocus: input.focus
9 property alias placeholderText: placeholder.text
17 border.color: input.activeFocus ? "black" : "grey"
19 function closeSoftwareInputPanel() {
21 input.closeSoftwareInputPanel();
27 anchors { fill: parent; leftMargin: 6; rightMargin: 6; topMargin: 6; bottomMargin: 6 }
30 selectionColor: "gray"
31 onTextChanged: root.textChanged()
35 if (event.key == Qt.Key_Enter || event.key == Qt.Key_Return) {
36 closeSoftwareInputPanel();
44 closeSoftwareInputPanel();
54 anchors { fill: parent; leftMargin: 6; rightMargin: 6; topMargin: 6; bottomMargin: 6 }
55 font.pixelSize: input.font.pixelSize
57 visible: (!input.activeFocus) && (input.text == "")