8 Keys.onDigit9Pressed: console.log("Error - Root")
13 Keys.onDigit9Pressed: console.log("Error - FocusScope")
22 border.color: myScope.activeFocus?"blue":"black"
25 id: item1; objectName: "item1"
27 width: 100; height: 100; color: "green"
29 border.color: activeFocus?"blue":"black"
30 Keys.onDigit9Pressed: console.log("Error - Top Left");
31 KeyNavigation.right: item2
35 width: 50; height: 50; anchors.centerIn: parent
36 color: parent.activeFocus?"red":"transparent"
41 id: item2; objectName: "item2"
43 width: 100; height: 100; color: "green"
45 border.color: activeFocus?"blue":"black"
46 KeyNavigation.left: item1
47 Keys.onDigit9Pressed: console.log("Error - Top Right");
50 width: 50; height: 50; anchors.centerIn: parent
51 color: parent.activeFocus?"red":"transparent"
55 KeyNavigation.down: item3
58 Text { x:100; y:170; text: "There should be no blue borders, or red squares.\nPressing \"9\" should do nothing.\nArrow keys should have no effect." }
61 id: item3; objectName: "item3"
63 width: 100; height: 100; color: "green"
65 border.color: activeFocus?"blue":"black"
67 Keys.onDigit9Pressed: console.log("Error - Bottom Left");
68 KeyNavigation.up: myScope
71 width: 50; height: 50; anchors.centerIn: parent
72 color: parent.activeFocus?"red":"transparent"