X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2Fqwp%2Fcontent%2FInput.qml;fp=qml%2Fqwp%2Fcontent%2FInput.qml;h=8e694159e3cdb705ed580972f62c70206872c9fc;hb=537e6ec61f576a4a3a40e30e900c55ea219a55c6;hp=0000000000000000000000000000000000000000;hpb=d7b563a1a6f5a9388c4a1f99ffd1099a97796dae;p=qwp diff --git a/qml/qwp/content/Input.qml b/qml/qwp/content/Input.qml new file mode 100644 index 0000000..8e69415 --- /dev/null +++ b/qml/qwp/content/Input.qml @@ -0,0 +1,25 @@ +import QtQuick 1.0 + +FocusScope { + id:container + x:2 + width: menu.width-4 + height: menu.height + BorderImage { source: "images/lineedit.sci"; anchors.fill: parent } + signal accepted + property alias text: input.text + property alias item:input + TextInput{ + id: input + width: parent.width - 12 + anchors.centerIn: parent + maximumLength:21 + //font.pixelSize: 16; + font.bold: true + color: "#151515"; selectionColor: "mediumseagreen" + focus: true + onAccepted:{container.accepted()} + text: "" + selectByMouse: true + } +}