diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-04-06 11:16:55 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-04-06 13:43:59 +0000 |
commit | f8224c9c9e3dfc1fd4cc3bff915e7e2d1c411d05 (patch) | |
tree | 03a61656e43a85d2207aaff5d1d7e4e817cbd515 /examples | |
parent | 1414f2fcce6bcd3f02c571a371d999aff8814a74 (diff) |
Gallery: handle Menu shortcut on mobile
Change-Id: Ie7ad814b3999791801c60776777c6a736db1c093
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols2/gallery/gallery.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/quickcontrols2/gallery/gallery.qml b/examples/quickcontrols2/gallery/gallery.qml index c077f6c5..9f253ab3 100644 --- a/examples/quickcontrols2/gallery/gallery.qml +++ b/examples/quickcontrols2/gallery/gallery.qml @@ -76,6 +76,11 @@ ApplicationWindow { } } + Shortcut { + sequence: "Menu" + onActivated: optionsMenu.open() + } + header: ToolBar { Material.foreground: "white" |