PDA

View Full Version : popupmenu for QTreeWidget's item when a particular item selected.



vinod sharma
20th January 2010, 07:35
Hello to all,
I am new to Qt 4.5 IDE and windows-xp as my operating system.
I am not getting any idea how to show a popupmenu from an existing QTreeWidget's item by pressing right button of mouse.

Thanks in advance for reply.

wysota
22nd January 2010, 11:45
Qt 4.5 is not an IDE, it's an application programming framework.

Reimplement contextMenuEvent() for your view.