The Menus example demonstrates how menus can be used in a main window application.| doc.qt.io
The QKeySequence class encapsulates a key sequence as used by shortcuts.| doc.qt.io
The QAction class provides an abstraction for user commands that can be added to different user interface components.| doc.qt.io