Hi,
I created a right click menu option for a QTreeWidgetItem using CustomContextMenu. Under this, created a QAction ,uopn which I need to pass the currentTreeItem in signal triggered(). How can i achieve that?
Found that we can call QAction->setData().. But not sure, how to convert QTreeWidgetItem to a QVariant ?
Any suggestion please
Bookmarks