When you assign a menu to a normal QPushButton, it becomes a button that only allows you to have a menu. This class lets you click the button and have a menu at the same time.