1 import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
2 import "../UIConstants.js" as Const
7 property alias text: text.text
8 property alias elide: text.elide
9 property alias iconSource: icon.source
10 property int fontSize: Const.DEFAULT_FONT_PIXEL_SIZE
14 anchors.left: root.left; anchors.right: root.right
16 anchors.bottom: root.bottom
17 color: Const.LIGHT_AUBERGINE_COLOR
29 spacing: Const.DEFAULT_MARGIN
30 x: Const.DEFAULT_MARGIN
35 spacing: Const.DEFAULT_MARGIN
45 color: Const.DEFAULT_DIALOG_FOREGROUND_COLOR
46 font.pixelSize: root.fontSize
48 width: root.width - 6*Const.DEFAULT_MARGIN
57 anchors.right: root.right; anchors.left: root.left
58 anchors.bottom: box.top
59 height: Const.SHADOW_OFFSET