Hi,
I'm using QWidgetAction to add a QLineEdit widget into the QMenu and then show the menu using menu.exec() function. When the user types something in the line edit and presses enter I would like to see that exec() would return me the appropriate QWidgetAction instance. I tried calling QWidgetAction.triggered() on that keyboard event but it didn't work.
How do I do that? I don't seem to find out what do I have to call in order for the exec() to return this action...
Any help is greatly appreciated...
Gregor
Bookmarks