I\'m creating a text editor and I\'d like to put the QComboBox in the QMenu. I didn\'t find any method inside the QMenu that handled such
QComboBox
QMenu
QWidgetAction is a QAction that contains a QWidget. You can use this to encapsulate your QComboBox and add it to your menu via QMenu::addAction.
QAction
QWidget
QMenu::addAction