diff options
author | Antti Hölttä <AHoelttae@luxoft.com> | 2018-12-03 13:44:15 +0100 |
---|---|---|
committer | Antti Hölttä <AHoelttae@luxoft.com> | 2019-03-18 16:33:53 +0100 |
commit | a9445c3b9c8f51a229b62c25df1aeebe5c85c88d (patch) | |
tree | d431757016a1892135859fae565dfed759ccdeff /DemoApplication/pages | |
parent | 2d45defe15ca9a94f6eba992af3d544fcd5dfb32 (diff) |
Cursor now movable only to items that set the acceptsCursor value to true
Diffstat (limited to 'DemoApplication/pages')
-rw-r--r-- | DemoApplication/pages/Page1.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DemoApplication/pages/Page1.qml b/DemoApplication/pages/Page1.qml index a140c6e..84ef0a7 100644 --- a/DemoApplication/pages/Page1.qml +++ b/DemoApplication/pages/Page1.qml @@ -71,6 +71,14 @@ Item { y: 241 text: qsTr("Button") } + + CNButton { + id: button8 + x: 210 + y: 138 + text: qsTr("Button (cursor off)") + CursorNavigation.acceptsCursor: false + } } //this seems to be the way to force focus on a newly opened dialog? Component.onCompleted: { forceActiveFocus(); } |