[Qt-interest] Changing font in tooltip
Andreas Diehl
Andreas_Diehl at abs.org
Wed Aug 5 11:08:23 CEST 2009
Hello Anatoly,
try using html to format your text. At least for standard setToolTip() methods this works. Something
like
QString( "This is my <b>fat tooltip</b><br>and this is my <i>italic tooltip</i>." );
Regards,
Andreas
-----Ursprüngliche Nachricht-----
Von: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] Im Auftrag von Anatoly Burakov
Gesendet: Mittwoch, 5. August 2009 07:39
An: qt-interest at trolltech.com
Betreff: [Qt-interest] Changing font in tooltip
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
--
Mit freundlichen Grüßen
Andreas Diehl
-------------------------- ABS -------------------------
ABS Systemberatung OHG Tel: +49 (0)7053/9290-03
Hauffstr. 9 Fax: +49 (0)7053/9290-
D-75385 Bad Teinach-Zavelstein http://www.abs.org
Registergericht Calw HRA 1031
[mailto:Andreas_Diehl at abs.org]
----- Loesungen fuer den Maschinen- und Anlagenbau -----
More information about the Qt-interest-old
mailing list