Hello.

I have a MainWindow with several QTreeWidgets.
When you click on any of them, the contextmenu shown is the same, it just contain the QAction "add".
If you click on "add", a new dialog appears asking you for the QTreeWidgetItem to add.

The question is how do I know which QTreeWidget called add() and so I can add the QTreeWidgetItem to the correct QTreeWidget.

Calculating the coordinates is too arduous

Thanks in advance.