-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi all :)<br><br>I&#39;m trying to do this : <br>- -&gt; when mouse is on a label, position ou cursor should be given.<br><br>so i&#39;ve done a :<br>def enterEvent(self, event):
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a = QtGui.QHoverEvent()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x = a.pos(self)<br><br>- -&gt; Errors :<br>&nbsp;&nbsp;&nbsp; a = QtGui.QHoverEvent()<br>TypeError: insufficient number of arguments to QHoverEvent()<br><br>So i&#39;ve consulting : <br><a href="http://docs.huihoo.com/pyqt/pyqt4/html/qhoverevent.html">
http://docs.huihoo.com/pyqt/pyqt4/html/qhoverevent.html</a><br><br>but don&#39;t understand how to implement it...<br><br>Someone to help me, please ? :)<br><br>JB<br><br>- -- <br><a href="http://astrolix.org">http://astrolix.org
</a><br>association des linuxiens astronomes<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.7 (GNU/Linux)<br>Comment: <a href="http://firegpg.tuxfamily.org">http://firegpg.tuxfamily.org</a><br><br>iD8DBQFHfoZGetOZWwsO2AERAoEJAJ9Tnhmf0ziEzy+OHKSylAfqYNwGPACgwaD8
<br>esrWStltSpkIHhBN5jPGfFM=<br>=nfNU<br>-----END PGP SIGNATURE-----<br><br><br>