4 width: 800; height: 600
15 height: 120; width: 420
18 border.width: 5; border.color: firstScope.activeFocus?"blue":"black"
21 id: item1; objectName: "item1"
22 x: 10; y: 10; width: 100; height: 100; color: "green"
23 border.width: 5; border.color: activeFocus?"blue":"black"
27 width: 50; height: 50; anchors.centerIn: parent
28 color: parent.activeFocus?"red":"transparent"
33 id: item2; objectName: "item2"
34 x: 310; y: 10; width: 100; height: 100; color: "green"
35 border.width: 5; border.color: activeFocus?"blue":"black"
38 width: 50; height: 50; anchors.centerIn: parent
39 color: parent.activeFocus?"red":"transparent"
50 y: 160; height: 120; width: 420
53 border.width: 5; border.color: secondScope.activeFocus?"blue":"black"
56 id: item4; objectName: "item4"
57 x: 10; y: 10; width: 100; height: 100; color: "green"
58 border.width: 5; border.color: activeFocus?"blue":"black"
61 width: 50; height: 50; anchors.centerIn: parent
62 color: parent.activeFocus?"red":"transparent"
67 id: item5; objectName: "item5"
68 x: 310; y: 10; width: 100; height: 100; color: "green"
69 border.width: 5; border.color: activeFocus?"blue":"black"
72 width: 50; height: 50; anchors.centerIn: parent
73 color: parent.activeFocus?"red":"transparent"
79 Keys.onDigit4Pressed: item4.focus = true
80 Keys.onDigit5Pressed: item5.forceActiveFocus()