The QWidgetAction class extends QAction by an interface for inserting custom widgets into action based containers, such as toolbars.| doc.qt.io
The QMenu class provides a menu widget for use in menu bars, context menus, and other popup menus.| doc.qt.io