[Qt-interest] Changing font in tooltip

David Boosalis david.boosalis at gmail.com
Wed Aug 5 11:05:22 CEST 2009


There is the static method QTooltip::setFont().  As this is a global
font and you just want to change it for your model/view, you might set
and restore this font when you do a enter/leave event



On Tue, Aug 4, 2009 at 10:39 PM, Anatoly
Burakov<burakov.anatoly at googlemail.com> wrote:
> Hi all
>
> I can't seem to find a way to change a font in tooltip (when showing
> tooltips using a model/view architecture's ToolTipRole).
>
> I'll be grateful for any help.
>
> Regards,
> Anatoly
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list