def _set_platform_specific_keyboard_shortcuts(self):
self.action_new_phrase.setShortcuts(QKeySequence.New)<EOL>self.action_save.setShortcuts(QKeySequence.Save)<EOL>self.action_close_window.setShortcuts(QKeySequence.Close)<EOL>self.action_quit.setShortcuts(QKeySequence.Quit)<EOL>self.action_undo.setShortcuts(QKeySequence.Undo)<EOL>self.action_redo.setShortcuts(QKeySequence.Redo)<EOL>self.action_cut_item.setShortcuts(QKeySequence.Cut)<EOL>self.action_copy_item.setShortcuts(QKeySequence.Copy)<EOL>self.action_paste_item.setShortcuts(QKeySequence.Paste)<EOL>self.action_delete_item.setShortcuts(QKeySequence.Delete)<EOL>self.action_configure_autokey.setShortcuts(QKeySequence.Preferences)<EOL>
QtDesigner does not support QKeySequence::StandardKey enum based default keyboard shortcuts.
This means that all default key combinations ("Save", "Quit", etc) have to be defined in code.