-----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-----
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to