[PyKDE] How do you get WhatsThis stuff to work?

Ruth Wright rwright at envisage-inc.com
Fri Apr 5 19:50:39 BST 2002


I have a menubar which has a pixmap item that I'd like to connect a
whatsthis() to. 
I've put the following in my code where menu bar is a QMenuBar():

id = menubar.insertItem(mypixmap)
menubar.setWhatsThis(id,"my help text");

I thought that the documentation was telling me that hitting shift-f1
while that item had focus should pop up the little whatsthis window, but
I get nothing. I'm running on linux, redhat 7.1 with python 2.1.1 and I
think qt 3.0.1 (that seems to be what was installed, but I'm not sure).

What else to I need to do?


-- 
Ruth Wright
Envisage Inc.
phone: 325-0406 ext. 18
fax:   325-0409





More information about the PyQt mailing list