diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/text_style.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/text/text_style.qml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/text_style.qml b/tests/manual/scenegraph_lancelot/data/text/text_style.qml new file mode 100644 index 0000000000..4155709835 --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/text/text_style.qml @@ -0,0 +1,56 @@ +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 (looks a bit shit)" + 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 + } +} |