GCompris-qt
44 property bool isDialog:
true
46 property alias titleIcon: titleIcon.source
47 property string content
56 Item { width: 10; height: 1 }
60 anchors.top: parent.top
61 Item { width: 1; height: 10 }
65 width: dialogBackground.width - 30
66 height: title.height * 1.2
81 text: dialogBackground.title
82 width: dialogBackground.width - 30
83 horizontalAlignment: Text.AlignHCenter
84 verticalAlignment: Text.AlignVCenter
87 font.weight: Font.DemiBold
88 wrapMode: Text.WordWrap
94 width: dialogBackground.width - 30
95 height: dialogBackground.height - 100
104 contentWidth: textContent.contentWidth
105 contentHeight: textContent.contentHeight
106 flickableDirection: Flickable.VerticalFlick
111 text: style +
"<body>" + content +
"</body>"
114 fontSize: regularSize
115 wrapMode: TextEdit.Wrap
116 textFormat: TextEdit.RichText
118 linkActivated.connect(Qt.openUrlExternally) : null
121 "<HEAD><STYLE type='text/css'>A {color: blue;}</STYLE></HEAD>" :
122 "<HEAD><STYLE type='text/css'>A {color: black;}</STYLE></HEAD>"
126 Item { width: 1; height: 10 }
132 onClose: parent.close()
A QML component unifying text presentation in GCompris.
bool isDownloadAllowed
Download allowed.
A general purpose singleton that exposes miscellaneous native functions to the QML layer...
qreal ratio
Ratio factor used for scaling of sizes on high-dpi devices.
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Tue Jun 2 2015 21:47:47 by
doxygen 1.8.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.