@ronaroja Check out the Menus example. This creates a QWidget that is used as the application central widget. Widget are added to the QVBoxLayout of this central widget. You will have to modify this example slightly; don't use the setMenuBar() and create a QMenuBar widget that you can add to the QVBoxLayout (doesn't have to be at the top).