Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, December 2006
WhatsThis for custom widgets


Message 1 in thread

What is the recommended way to set a WhatsThis text for a custom widget which 
contains more than one child widget? In Qt 3, calling QWhatsThis::add(widget, 
text) set the whatsthis text for the custom widget as a whole, including its 
child widgets. But in Qt 4, the whatsthis handling seems to be done 
separately for each child widget, so that an event filter needs to be 
installed to achieve the same effect as in Qt 3.

I've had some difficulty getting this to work for some child or inherited 
widgets. Is setting whatsthis texts really so difficult, or have I missed 
something?

--
 [ signature omitted ]