I'm dynamically creating menu items (using QMenu.AddAction) and connecting each QAction.triggered() to the one slot. Inside the slot function I need to know which QAction triggered the slot and ideally be able to get the data (QAction.data()) from that QAction.
Is there a way to get hold of the QAction or is there another/better way to achieve this?
Many thanks
Stefan
Bookmarks