Shortcut: add sequenceString property
authorShawn Rutledge <shawn.rutledge@theqtcompany.com>
Fri, 7 Aug 2015 08:52:36 +0000 (10:52 +0200)
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>
Thu, 3 Sep 2015 08:18:20 +0000 (08:18 +0000)
commit8b09653cb22807f09ec4e6c0ffc7dcf7f11bc1a0
tree0d9e717ce1b2874d7a29da0df002980b0955c481
parent149ece7a0cfb4fc90fe4544379ee2772fde881fd
Shortcut: add sequenceString property

If you set sequence to a StandardKey, then read back the property,
you will get an int, which is not suitable for display.
Now you can use sequenceString for tooltips, preference dialogs
for setting shortcuts, and such.

[ChangeLog][QtQuick] Added Shortcut.sequenceString property to read
back the key sequence as a displayable string

Change-Id: I63ee46f8a2c2da1b1c803282baa894fb1667fe67
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
src/quick/util/qquickshortcut.cpp
src/quick/util/qquickshortcut_p.h
src/quick/util/qquickutilmodule.cpp