summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
diff options
context:
space:
mode:
authorA-Team <ateam@pad.test.qt.nokia.com>2010-11-10 23:00:13 (GMT)
committerA-Team <ateam@pad.test.qt.nokia.com>2010-11-10 23:00:13 (GMT)
commitfce752ba402535a62e420a83483d0f92623d684a (patch)
tree24b1456a4136515524642138854d6232fb6ef634 /tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
parentd7da33a914a7e84ebf38cbb3244aac936838ecb1 (diff)
parent38e1ed3b51d6aad46912eb548490d038e58203d9 (diff)
downloadQt-fce752ba402535a62e420a83483d0f92623d684a.zip
Qt-fce752ba402535a62e420a83483d0f92623d684a.tar.gz
Qt-fce752ba402535a62e420a83483d0f92623d684a.tar.bz2
Merge branch '4.7-upstream' into 4.7-doc
Diffstat (limited to 'tests/auto/declarative/qmlvisual/shared/TestTextInput.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/shared/TestTextInput.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml b/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
new file mode 100644
index 0000000..e01c2c2
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
@@ -0,0 +1,14 @@
+import QtQuick 1.0
+import "../shared" 1.0
+
+TextInput {
+ id: inp
+ FontLoader { id: fixedFont; source: "Vera.ttf" }
+ font.family: fixedFont.name
+ font.pixelSize: 12
+ cursorDelegate: Rectangle {
+ width: 1;
+ color: "black";
+ visible: parent.cursorVisible//bug that 'inp' doesn't seem to work?
+ }
+}