[PyQt] Re : ContextMenu in TreeView

projetmbc at club-internet.fr projetmbc at club-internet.fr
Tue Feb 17 09:23:27 GMT 2009

>> Hello, 
>> is it possible to define a ContextMenu for a TreeView ? 

>Yes, just override QWidget.contextMenuEvent for the view. 


Thanks but then I have a problem. 
How can I know that the mouse is over the TreeView ? 


More information about the PyQt mailing list