aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextinput/data/cursorTest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktextinput/data/cursorTest.qml')
-rw-r--r--tests/auto/quick/qquicktextinput/data/cursorTest.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextinput/data/cursorTest.qml b/tests/auto/quick/qquicktextinput/data/cursorTest.qml
new file mode 100644
index 0000000000..71a420ee7c
--- /dev/null
+++ b/tests/auto/quick/qquicktextinput/data/cursorTest.qml
@@ -0,0 +1,9 @@
+import QtQuick 2.0
+
+Rectangle { id:rect; width: 300; height: 300; color: "white"
+ property string contextualProperty: "Hello"
+ TextInput { text: "Hello world!"; id: textInputObject; objectName: "textInputObject"
+ resources: [ Component { id:cursor; Item { id:cursorInstance; objectName: "cursorInstance"; property string localProperty: contextualProperty } } ]
+ cursorDelegate: cursor
+ }
+}