[Qt-interest] Set seperate context menus for QTreeWidgetItems

Jothy jothybasu at gmail.com
Tue Oct 18 12:30:21 CEST 2011


Hi all,

How can I seup seperate context menus for each QTreeWidgetItem. There seem
to be no method in the class QTreeWidgetItem->addAction. I tried setting the
contextMenuPolicy to actionContextMenu. But it adds the menu for all the
items.

Thanks

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111018/8c05b405/attachment.html 


More information about the Qt-interest-old mailing list