setShortcut
Sets the shortcut for the item.
Parameters
showShortcut
Whether a shortcut should be shown(if false, the value of shortcutKey should be ignored).
shortcutKey
The shortcut key that should be shown on the ItemView.
Sets the shortcut for the item.
Whether a shortcut should be shown(if false, the value of shortcutKey should be ignored).
The shortcut key that should be shown on the ItemView.