The QKeySequence class, part of the Qt framework, encapsulates a key sequence as used by shortcuts.
In its most common form, a key sequence describes a combination of keys that must be used together to perform some action. Key sequences are used with QAction
objects to specify which keyboard shortcuts can be used to trigger actions.