diff options
author | Antti Hölttä <AHoelttae@luxoft.com> | 2018-11-06 15:39:36 +0100 |
---|---|---|
committer | Antti Hölttä <AHoelttae@luxoft.com> | 2019-03-18 16:31:43 +0100 |
commit | fbe75056a6ca179504b33c74d741c540f5b22dcd (patch) | |
tree | c535cd55d285b8e2e6b9a450a88a8e316e5ba12f /DemoApplication/main.qml | |
parent | 00fa5d9215d32124292fe3e45372acebac7b9d31 (diff) |
More on scopes, works to some extent in the test program
Scope may be entered and escaped. Navigable items may have escape targets
defined
Diffstat (limited to 'DemoApplication/main.qml')
-rw-r--r-- | DemoApplication/main.qml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/DemoApplication/main.qml b/DemoApplication/main.qml index 685e8dc..b408923 100644 --- a/DemoApplication/main.qml +++ b/DemoApplication/main.qml @@ -5,8 +5,8 @@ import CursorNavigation 1.0 ApplicationWindow { id: window visible: true - width: 640 - height: 480 + width: 800 + height: 600 title: qsTr("Stack") header: ToolBar { @@ -55,6 +55,14 @@ ApplicationWindow { drawer.close() } } + ItemDelegate { + text: qsTr("Page 3") + width: parent.width + onClicked: { + stackView.push("Page3Form.qml") + drawer.close() + } + } } } |