1 // import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
3 import com.nokia.meego 1.1
4 import 'UIConstants.js' as UI
8 property string titleText: qsTr("Help")
9 property string message
16 anchors.margins: UI.DEFAULT_MARGIN
21 anchors.top: parent.top
22 anchors.left: parent.left
23 anchors.right: parent.right
24 anchors.bottomMargin: UI.DEFAULT_MARGIN
25 text: helpDialog.titleText
26 font.pixelSize: UI.FONT_XLARGE
28 horizontalAlignment: Text.AlignHCenter
33 anchors.top: helpTitle.bottom
34 anchors.bottom: okButton.top
35 anchors.left: parent.left
36 anchors.right: parent.right
37 anchors.rightMargin: 1
38 anchors.bottomMargin: UI.DEFAULT_MARGIN
42 border.color: "lightgray"
48 anchors.margins: UI.DEFAULT_MARGIN
49 boundsBehavior: Flickable.StopAtBounds
50 // contentWidth: helpText.paintedWidth
51 contentHeight: helpText.paintedHeight
54 text: helpDialog.message
55 font.pixelSize: UI.FONT_DEFAULT
57 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
59 onLinkActivated: Qt.openUrlExternally(link)
64 flickableItem: textFlickable
72 anchors.horizontalCenter: parent.horizontalCenter
73 anchors.bottom: parent.bottom
74 anchors.margins: UI.DEFAULT_MARGIN
75 onClicked: helpDialog.clicked()
83 anchors.left: textRect.right
84 anchors.bottom: textRect.bottom
85 width: UI.DEFAULT_MARGIN / 2
86 height: textRect.height - UI.DEFAULT_MARGIN / 2
91 anchors.left: textRect.left
92 anchors.leftMargin: UI.DEFAULT_MARGIN / 2
93 anchors.top: textRect.bottom
95 height: UI.DEFAULT_MARGIN / 2