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

vinod sharma
20th January 2010, 06: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.

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

Reimplement contextMenuEvent() for your view.