| 1 |
import QtQuick 2.0 |
| 2 |
|
| 3 |
//vary font.weight |
| 4 |
|
| 5 |
Item { |
| 6 |
width: 320 |
| 7 |
height: 480 |
| 8 |
TextEdit { |
| 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" |
| 14 |
font.weight: Font.Light |
| 15 |
color: "black" |
| 16 |
font.family: "Meera" |
| 17 |
font.pointSize: 10 |
| 18 |
wrapMode: Text.Wrap |
| 19 |
} |
| 20 |
TextEdit { |
| 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" |
| 26 |
font.weight: Font.Normal |
| 27 |
color: "black" |
| 28 |
font.family: "Mallige" |
| 29 |
font.pointSize: 10 |
| 30 |
wrapMode: Text.Wrap |
| 31 |
} |
| 32 |
TextEdit { |
| 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" |
| 38 |
font.weight: Font.DemiBold |
| 39 |
color: "black" |
| 40 |
font.family: "Norasi" |
| 41 |
font.pointSize: 10 |
| 42 |
wrapMode: Text.Wrap |
| 43 |
} |
| 44 |
TextEdit { |
| 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" |
| 50 |
font.weight: Font.Bold |
| 51 |
color: "black" |
| 52 |
font.family: "Purisa" |
| 53 |
font.pointSize: 10 |
| 54 |
wrapMode: Text.Wrap |
| 55 |
} |
| 56 |
TextEdit { |
| 57 |
id: text_0004 |
| 58 |
width: 150 |
| 59 |
anchors.top: text_0003.bottom |
| 60 |
anchors.left: text_0003.left |
| 61 |
text: "The quick brown fox jumps over the lazy dog. 0123456789" |
| 62 |
font.weight: Font.Black |
| 63 |
color: "black" |
| 64 |
font.family: "Saab" |
| 65 |
font.pointSize: 10 |
| 66 |
wrapMode: Text.Wrap |
| 67 |
} |
| 68 |
TextEdit { |
| 69 |
id: text_0005 |
| 70 |
width: 150 |
| 71 |
anchors.top: text_0004.bottom |
| 72 |
anchors.left: text_0004.left |
| 73 |
text: "The quick brown fox jumps over the lazy dog. 0123456789" |
| 74 |
font.weight: Font.Normal |
| 75 |
color: "black" |
| 76 |
font.family: "Sawasdee" |
| 77 |
font.pointSize: 10 |
| 78 |
wrapMode: Text.Wrap |
| 79 |
} |
| 80 |
TextEdit { |
| 81 |
id: text_0006 |
| 82 |
width: 150 |
| 83 |
anchors.top: text_0005.bottom |
| 84 |
anchors.left: text_0005.left |
| 85 |
text: "The quick brown fox jumps over the lazy dog. 0123456789" |
| 86 |
font.weight: Font.Normal |
| 87 |
color: "black" |
| 88 |
font.family: "Symbol" |
| 89 |
font.pointSize: 10 |
| 90 |
wrapMode: Text.Wrap |
| 91 |
} |
| 92 |
TextEdit { |
| 93 |
id: text_0007 |
| 94 |
width: 150 |
| 95 |
anchors.top: text_0006.bottom |
| 96 |
anchors.left: text_0006.left |
| 97 |
text: "The quick brown fox jumps over the lazy dog. 0123456789" |
| 98 |
font.weight: Font.Normal |
| 99 |
color: "black" |
| 100 |
font.family: "UnBatang" |
| 101 |
font.pointSize: 10 |
| 102 |
wrapMode: Text.Wrap |
| 103 |
} |
| 104 |
} |