summaryrefslogtreecommitdiff
path: root/src/controls/Menu.qml
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-03-01 13:41:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-04 11:31:04 +0100
commit658ea07229c01405de473265f293e7d39e2b348c (patch)
tree2f122a0c98d43c3ca0aa23d7726151635eb3dbbb /src/controls/Menu.qml
parentedc4b7516ddc2915b402f57ad650fd5b1451f565 (diff)
downloadqtquickcontrols-658ea07229c01405de473265f293e7d39e2b348c.tar.gz
Example: Add copy/paste/cut actions to the gallery
Save the last item with focus to reuse while using shortcuts at the application level. Call the function (if it exists) on the last item with focus when the related shortcut is triggered. This way a shortcut works both when it is called directly or when it is called from the menu. Change-Id: I5fb26a8793fa07c75da6c737cff4701291e0c1bc Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Menu.qml')
0 files changed, 0 insertions, 0 deletions