aboutsummaryrefslogtreecommitdiffstats
path: root/tests/4WayTest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/4WayTest.qml')
-rw-r--r--tests/4WayTest.qml51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/4WayTest.qml b/tests/4WayTest.qml
new file mode 100644
index 0000000..2dac77d
--- /dev/null
+++ b/tests/4WayTest.qml
@@ -0,0 +1,51 @@
+import QtQuick 2.0
+import CursorNavigation 1.0
+
+Item {
+ width: 200
+ height: 200
+
+
+ CNRect {
+ objectName: "left"
+ x: 20
+ y: 60
+ CursorNavigation.objectName: "leftAttached"
+ }
+
+ CNRect {
+ objectName: "center"
+ x: 60
+ y: 60
+ }
+
+ CNRect {
+ objectName: "top"
+ x: 60
+ y: 20
+ }
+
+ CNRect {
+ objectName: "bottom"
+ x: 60
+ y: 100
+ }
+
+ CNRect {
+ objectName: "right"
+ x: 100
+ y: 60
+ }
+
+ CNRect {
+ objectName: "right1"
+ x: 140
+ y: 44
+ }
+
+ CNRect {
+ objectName: "right2"
+ x: 141
+ y: 76
+ }
+}