diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/focusscope/test.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/focusscope/test.qml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/auto/declarative/qmlvisual/focusscope/test.qml b/tests/auto/declarative/qmlvisual/focusscope/test.qml index 6b2ee25..7342e35 100644 --- a/tests/auto/declarative/qmlvisual/focusscope/test.qml +++ b/tests/auto/declarative/qmlvisual/focusscope/test.qml @@ -1,9 +1,16 @@ import QtQuick 1.0 +/* + Blue border indicates scoped focus + Black border indicates NOT scoped focus + Red box indicates active focus + Use arrow keys to navigate + Press "9" to print currently focused item +*/ Rectangle { color: "white" - width: 800 - height: 600 + width: 480 + height: 480 Keys.onDigit9Pressed: console.log("Error - Root") @@ -55,8 +62,6 @@ Rectangle { KeyNavigation.down: item3 } - Text { x:100; y:170; text: "Blue border indicates scoped focus\nBlack border indicates NOT scoped focus\nRed box indicates active focus\nUse arrow keys to navigate\nPress \"9\" to print currently focused item" } - Rectangle { id: item3 x: 10; y: 300 |