hfdialer has been made a singleton and will only start one
[profile/ivi/hfdialer.git] / qml / MessageDialog.qml
1 /*
2  * dialer - QML User Interface Component
3  *
4  * Copyright (c) 2011, Tom Swindell.
5  *
6  * This program is licensed under the terms and conditions of the
7  * Apache License, version 2.0.  The full text of the Apache License is at
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  */
11
12 import Qt 4.7
13
14 AbstractDialog {
15     id: root
16
17     property string mesg: ''
18
19     Rectangle {
20         id: dialog
21         width: parent.width * 0.8; height: 300;
22         anchors.centerIn: parent
23         color: "white"
24         radius: 15
25         smooth: true
26
27         Text {
28             id: mesgText
29             width: parent.width * 0.9
30             anchors.centerIn: parent
31             wrapMode: Text.WordWrap
32             color: "black"
33             font.pixelSize: 32
34             text: "<center>" + root.mesg + "</center>"
35         }
36     }
37 }