Skip to content
Advertisement

How to add QAction to QLineEdit in pyqt5?

I am making an application in pyqt5 in which I have to add QAction to QLineEdit. I have tried many times but failed. GitHub issues This is what I want
Please help me. Thank you in advance

Advertisement

Answer

Here is a very basic example:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement