[PyQt] QContextMenuEvent on a QTreeWidgetItem

Christopher Evans chris.evans at gmail.com
Fri Dec 17 09:40:55 GMT 2010


Hi guys,

I have been using pyqt for years at many different jobs and many different
projects, however some things elude me. (I am a self-taught noob at heart)

I have written many tutorials for the community to help spread knowledge,
but this is one of the many things I myself have never found a good tutorial
on:

I just want to make a simple right click contextual menu on a
treewidgetitem.

Can anyone share a snippet showing this?

Thanks!

-- 
CE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101217/90f0b72f/attachment.html>


More information about the PyQt mailing list