Debian Codegraph @

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

raw
1 import QtQuick 2.0
2
3 //vary font style
4
5 Item {
6 width: 320
7 height: 480
8 Text {
9 id: text_0000
10 anchors.top: parent.top
11 anchors.left: parent.left
12 width: 150
13 text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Normal"
14 style: Text.Normal
15 color: "black"
16 font.family: "Arial"
17 font.pointSize: 14
18 wrapMode: Text.Wrap
19 }
20 Text {
21 id: text_0001
22 anchors.top: text_0000.bottom
23 anchors.left: parent.left
24 width: 150
25 text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Outline"
26 style: Text.Outline
27 color: "black"
28 font.family: "Helvetica"
29 font.pointSize: 14
30 wrapMode: Text.Wrap
31 }
32 Text {
33 id: text_0002
34 width: 150
35 anchors.top: text_0001.bottom
36 anchors.left: text_0001.left
37 text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Raised"
38 style: Text.Raised
39 color: "black"
40 font.family: "Courier"
41 font.pointSize: 14
42 wrapMode: Text.Wrap
43 }
44 Text {
45 id: text_0003
46 width: 150
47 anchors.top: text_0002.bottom
48 anchors.left: text_0002.left
49 text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Sunken"
50 style: Text.Sunken
51 color: "black"
52 font.family: "Calibri"
53 font.pointSize: 14
54 wrapMode: Text.Wrap
55 }
56 }