summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-11-10 23:00:14 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-11-10 23:00:14 (GMT)
commitad925d41019d5e5c47143ab91f775f970995ad0d (patch)
treead05cea02ddf9c87b832fc7111bb1b09f5203408 /tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml
parentb7d91c0d798bc10dd4f8a750723285076fb96935 (diff)
parent38e1ed3b51d6aad46912eb548490d038e58203d9 (diff)
downloadQt-ad925d41019d5e5c47143ab91f775f970995ad0d.zip
Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.tar.gz
Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.tar.bz2
Merge branch '4.7-upstream' into 4.7-water
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml
new file mode 100644
index 0000000..690cb15
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/TestText.qml
@@ -0,0 +1,13 @@
+import QtQuick 1.0
+
+Text {
+ id: testText
+
+ property color bcolor: "blue"
+
+ text: "The quick brown fox\njumps over\nthe lazy dog."
+ font.family: "Helvetica"
+ font.pointSize: 16
+
+ Rectangle { id: borderr; color: "transparent"; border.color: bcolor; anchors.fill: parent; opacity: 0.2 }
+}