import Qt 4.7 Rectangle { width: 360 height: 360 Rectangle { id: rectangle1 x: 109 y: 41 width: 143 height: 59 color: "blue" focus: true KeyNavigation.down :rectangle2 onFocusChanged: { rectangle1.color = focus == true ? "red" : "blue" } } Rectangle { id: rectangle2 x: 109 y: 137 width: 143 height: 59 color: "blue" enabled: false KeyNavigation.down :rectangle3 onFocusChanged: { rectangle2.color = focus == true ? "red" : "blue" } } Rectangle { id: rectangle3 x: 109 y: 237 width: 143 height: 59 color: "blue" KeyNavigation.down :rectangle1 onFocusChanged: { rectangle3.color = focus == true ? "red" : "blue" } } }