Python – how can I add a QMenu and QMenuItems to a window from Qt Designer


Is there any reason why a QMenu cannot be added from the Qt Designer? I find it weird that you can add other widget types but not this.

Best Solution

When you edit a QMainWindow you can right click the window and then choose "create menu bar".

Or are you talking about a "context menu" aka "right click menu"?