[PyQt] (no subject)

Arnold Krille arnold at arnoldarts.de
Tue Feb 17 09:49:11 GMT 2009


On Tuesday 17 February 2009 10:18:13 projetmbc at club-internet.fr wrote:
> Thanks but then I have a problem.
> How can I know that the mouse is over the TreeView ?

Because the contextMenuEvent of the TreeView is only triggered when the mouse 
is over the treeview.
And you can always check whether the mouse-coordinates given in the event are 
inside your widget.

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090217/94dd2bb0/attachment.bin


More information about the PyQt mailing list