Commit 658ea072 authored by Caroline Chao's avatar Caroline Chao Committed by The Qt Project
Browse files

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: default avatarJ-P Nurmi <jpnurmi@digia.com>
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent edc4b751
No related merge requests found
Showing with 13 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment