[Qt-interest] Tooltips

phil prentice philp.cheer at talktalk.net
Wed Aug 18 10:35:27 CEST 2010


Hi
  I set tooltips for an application using setToolTip() in the normal way.  The 
tool tips are displayed in the status bar which in most cases is fine.  
However some actions in my tool bar when clicked, change text labels in the 
status bar.  In those instances I would like to prevent the tooltip from 
being displayed because it obviously over-rides the text labels in the status 
bar (you cant see the changes interactively).

Obviously I could stop the tool tip for these actions, but is there a better 
way?

Could I stop the tool tips coming out in the status bar, like in dialogs where 
they appear next to the widget where the mouse is hovering? This could be 
done globally or just for these special cases?

Thanks for your help

Phil



More information about the Qt-interest-old mailing list