1 import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
2 import "../UIConstants.js" as Const
7 property alias label: text.text
8 property alias placeholderText: input.placeholderText
10 property alias textWidth: input.width
12 signal closed(string resp)
18 onClosed: input.closeSoftwareInputPanel()
19 onCanceled: input.closeSoftwareInputPanel()
23 anchors.left: root.left; anchors.right: root.right
25 anchors.bottom: root.bottom
26 color: Const.LIGHT_AUBERGINE_COLOR
34 spacing: Const.DEFAULT_MARGIN
35 anchors.horizontalCenter: parent.horizontalCenter
40 color: Const.DEFAULT_DIALOG_FOREGROUND_COLOR
41 font.pixelSize: Const.DEFAULT_FONT_PIXEL_SIZE
49 spacing: Const.DEFAULT_MARGIN
54 root.closed(input.text);
63 anchors.right: root.right; anchors.left: root.left
64 anchors.bottom: box.top
65 height: Const.SHADOW_OFFSET