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)
20 anchors.left: root.left; anchors.right: root.right
22 anchors.bottom: root.bottom
23 color: Const.LIGHT_AUBERGINE_COLOR
31 spacing: Const.DEFAULT_MARGIN
32 anchors.horizontalCenter: parent.horizontalCenter
37 color: Const.DEFAULT_DIALOG_FOREGROUND_COLOR
38 font.pixelSize: Const.DEFAULT_FONT_PIXEL_SIZE
46 spacing: Const.DEFAULT_MARGIN
51 root.closed(input.text);
60 anchors.right: root.right; anchors.left: root.left
61 anchors.bottom: box.top
62 height: Const.SHADOW_OFFSET