We will be following a step-by-step procedure to make two menus, along with the respective menu items in each. For quick access, each menu item will be associated with a shortcut key too. Here are the steps to create our customized menu bar:
- Launch Qt Designer and create a Main Window template-based application.
You get the new application with the default menu bar because the Main Window template of Qt Designer provides a main application window that displays a menu bar by default. The default menu bar appears as shown in the following screenshot:
- We can always remove the default menu bar by right-clicking in the main window ...