Debian Codegraph @

tests/manual/scenegraph_lancelot/data/text/text_inline_image.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 320
5 height: 480
6
7 Text {
8 anchors.centerIn: parent
9 font.family: "Arial"
10 font.pixelSize: 16
11 textFormat: Text.RichText
12 text: "This image is <img width=16 height=16 src=\"data/logo.png\" /> in the middle of the text"
13 }
14 }