[PyQt] How to get the QRect of a QMenuBar (QPopupMenu) item ?

Erwan Adam erwan.adam at cea.fr
Wed Nov 17 09:12:56 EST 2004


Hi all,

I try to introduce tooltips in my application written
in PyQt (more precisly, in the menubar of my application)
but I can't find a way to get the QRect instance
associated to a QMenuBar item (neither a QPopupMenu item)

I need the QRect 'cause I followed the tooltip.py file
given with pyqt to do the job with a re-implementation
of "maybeTip( self, pos )".

May be it is not the good solution ...

Help is welcome !

Cheers,

                  E.A.





More information about the Python-list mailing list