diff options
Diffstat (limited to 'DemoApplication/pages/Page3.qml')
-rw-r--r-- | DemoApplication/pages/Page3.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/DemoApplication/pages/Page3.qml b/DemoApplication/pages/Page3.qml index e9c47e1..307dc50 100644 --- a/DemoApplication/pages/Page3.qml +++ b/DemoApplication/pages/Page3.qml @@ -54,6 +54,7 @@ Item { anchors.fill: parent CursorNavigation.acceptsCursor: true CursorNavigation.escapeTarget: defaultButton + CursorNavigation.trapsCursor: trapCheckBox.checked //redefine the controls for this scope //(default arrow keys will still work as well, unless reassigned here) @@ -65,7 +66,7 @@ Item { Grid { spacing: 5 columns: 2 - rows: 2 + rows: 3 CNButton { text: "sb1" @@ -83,6 +84,11 @@ Item { text: "sb4 (default focus)" focus: true } + + CNCheckBox { + id: trapCheckBox + text: "trap cursor" + } } } } |