Hi,

I'm trying to show a context Menu on a QTreeWidget when there is a right mouse click. The problem is that I want to show different menus depending on the item that was clicked.

I know that I can disable the action but I don't want to see this action. So I want to know if there is a way to create different context Menus or have I to create the actions depending on the item that was clicked.

Thanks for any idea