[PyQt] ContextMenu for a TreeView

Doug Bell dougb at bellz.org
Tue Feb 17 01:31:01 GMT 2009


projetmbc at club-internet.fr wrote:
> Hello,
> is it possible to define a ContextMenu for a TreeView ?

Yes, just override QWidget.contextMenuEvent for the view.

Doug.


More information about the PyQt mailing list