Debian Codegraph @

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

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 320
5 height: 480
6
7 TextEdit {
8 id: textEdit
9 anchors.centerIn: parent
10 font.family: "Arial"
11 font.pixelSize: 16
12 textFormat: Text.RichText
13 text: "Here's a list: <ul><li>List item 1</li><li>List item 2</li><li>List item 3</li></ul> And some more text"
14
15 Component.onCompleted: {
16 textEdit.select(18, 30)
17 }
18 }
19 }