Merge branch 'master' of ssh://drop.maemo.org/git/qwp
[qwp] / qml / qwp / content / Input.qml
1 import QtQuick 1.0
2
3 FocusScope {
4     id:container
5     x:2
6     width: menu.width-4
7     height: menu.height
8     BorderImage { source: "images/lineedit.sci"; anchors.fill: parent }
9     signal accepted
10     property alias text: input.text
11     property alias item:input
12     TextInput{
13         id: input
14         width: parent.width - 12
15         anchors.centerIn: parent
16         maximumLength:21
17         //font.pixelSize: 16;
18         font.bold: true
19         color: "#151515"; selectionColor: "mediumseagreen"
20         focus: true
21         onAccepted:{container.accepted()}
22         text: ""
23         selectByMouse: true
24     }
25 }