At the same time switching to QKeySequenceEdit for capturing the shortcut. This allows to get rid of xmlgui.