42 import com.nokia.meego 1.0
47 property string titleText:
""
49 property Style platformStyle: SelectionDialogStyle {}
52 property alias style: genericDialog.platformStyle
55 property bool __drawFooterLine:
false
59 height: genericDialog.platformStyle.titleBarHeight
61 anchors.left: parent.left
62 anchors.right: parent.right
63 anchors.top: parent.top
64 anchors.bottom: parent.bottom
73 anchors.left: labelField.left
74 anchors.right: closeButton.left
76 anchors.bottom: parent.bottom
77 anchors.bottomMargin: genericDialog.platformStyle.titleBarLineMargin
81 height: titleLabel.height
85 x: genericDialog.platformStyle.titleBarIndent
86 width: parent.width - closeButton.width
88 font: genericDialog.platformStyle.titleBarFont
89 color: genericDialog.platformStyle.commonLabelColor
90 elide: genericDialog.platformStyle.titleElideMode
91 text: genericDialog.titleText
98 anchors.bottom: parent.bottom
99 anchors.bottomMargin: genericDialog.platformStyle.titleBarLineMargin-6
101 anchors.right: labelField.right
103 opacity: closeButtonArea.pressed ? 0.5 : 1.0
105 source:
"image://theme/icon-m-common-dialog-close"
110 onClicked: {genericDialog.reject();}
120 anchors.left: parent.left
121 anchors.right: parent.right
123 anchors.bottom: header.bottom
132 content: Item {
id: contentField}
138 height: childrenRect.height
144 height: childrenRect.height
150 anchors.left: parent.left
151 anchors.right: parent.right
152 anchors.top: parent.top
153 height: genericDialog.__drawFooterLine ? 1 : 0
160 Item {
id: dummy; anchors.fill: parent}