[PyQt] how to implement hover event ?
Jean-Baptiste BUTET
ashashiwa at gmail.com
Fri Jan 4 19:22:25 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all :)
I'm trying to do this :
- -> when mouse is on a label, position ou cursor should be given.
so i've done a :
def enterEvent(self, event):
a = QtGui.QHoverEvent()
x = a.pos(self)
- -> Errors :
a = QtGui.QHoverEvent()
TypeError: insufficient number of arguments to QHoverEvent()
So i've consulting :
http://docs.huihoo.com/pyqt/pyqt4/html/qhoverevent.html
but don't understand how to implement it...
Someone to help me, please ? :)
JB
- --
http://astrolix.org
association des linuxiens astronomes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org
iD8DBQFHfoZGetOZWwsO2AERAoEJAJ9Tnhmf0ziEzy+OHKSylAfqYNwGPACgwaD8
esrWStltSpkIHhBN5jPGfFM=
=nfNU
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080104/b79d0525/attachment.html
More information about the PyQt
mailing list