57 lines
1.5 KiB
QML
57 lines
1.5 KiB
QML
import QtQuick 2.0
|
|
|
|
//vary font style
|
|
|
|
Item {
|
|
width: 320
|
|
height: 480
|
|
Text {
|
|
id: text_0000
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
width: 150
|
|
text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Normal"
|
|
style: Text.Normal
|
|
color: "black"
|
|
font.family: "Arial"
|
|
font.pointSize: 14
|
|
wrapMode: Text.Wrap
|
|
}
|
|
Text {
|
|
id: text_0001
|
|
anchors.top: text_0000.bottom
|
|
anchors.left: parent.left
|
|
width: 150
|
|
text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Outline"
|
|
style: Text.Outline
|
|
color: "black"
|
|
font.family: "Helvetica"
|
|
font.pointSize: 14
|
|
wrapMode: Text.Wrap
|
|
}
|
|
Text {
|
|
id: text_0002
|
|
width: 150
|
|
anchors.top: text_0001.bottom
|
|
anchors.left: text_0001.left
|
|
text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Raised"
|
|
style: Text.Raised
|
|
color: "black"
|
|
font.family: "Courier"
|
|
font.pointSize: 14
|
|
wrapMode: Text.Wrap
|
|
}
|
|
Text {
|
|
id: text_0003
|
|
width: 150
|
|
anchors.top: text_0002.bottom
|
|
anchors.left: text_0002.left
|
|
text: "The quick brown fox jumps over the lazy dog. 0123456789. style: Sunken"
|
|
style: Text.Sunken
|
|
color: "black"
|
|
font.family: "Calibri"
|
|
font.pointSize: 14
|
|
wrapMode: Text.Wrap
|
|
}
|
|
}
|