summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicstextedit
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-09 06:58:52 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-09 06:58:52 (GMT)
commitb217b36ca4af47b1a47c82da602b7fd6c384d9c6 (patch)
treea46173e1bcee0dde2853b8fc808117c04cc56de5 /tests/auto/declarative/qmlgraphicstextedit
parent9a00f3fe6a4b6363d96369d976cb9b976c4393fd (diff)
downloadQt-b217b36ca4af47b1a47c82da602b7fd6c384d9c6.zip
Qt-b217b36ca4af47b1a47c82da602b7fd6c384d9c6.tar.gz
Qt-b217b36ca4af47b1a47c82da602b7fd6c384d9c6.tar.bz2
Enhance TextInput test coverage
Diffstat (limited to 'tests/auto/declarative/qmlgraphicstextedit')
-rw-r--r--tests/auto/declarative/qmlgraphicstextedit/data/readOnly.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicstextedit/data/readOnly.qml b/tests/auto/declarative/qmlgraphicstextedit/data/readOnly.qml
new file mode 100644
index 0000000..d2a8ce2
--- /dev/null
+++ b/tests/auto/declarative/qmlgraphicstextedit/data/readOnly.qml
@@ -0,0 +1,12 @@
+import Qt 4.6
+
+Rectangle {
+ property var myInput: Input
+
+ width: 800; height: 600; color: "blue"
+
+ TextEdit { id: Input; focus: true
+ readOnly: true
+ text: "I am the very model of a modern major general.\n"
+ }
+}