How can I use QLineEdit as a menu item in QMenu? Are there any solutions for this?
Just do something like this (look at the edit window under the avatar):
You can use QWidgetAction to contain a QLineEdit. It inherits QAction.
Take a look at the QComboBox . This allows you to edit items in a pop-up menu. But if you mean the menu in the main menu, I don’t think there is a way to do this. And this is not a very good user interface.