[Qt-creator] Basic question regarding font settings and QTabWidget

Ladnar, Marc Marc.Ladnar at ksab.kroschu.com
Mon Jun 15 07:50:24 CEST 2009


There is a function called tabBar() inside QTabWidget.
 
Get it and set the font inside there to bold.
 
Have a nice day.

  _____  

Von: Patric [mailto:userqt at gmail.com] 
Gesendet: Sonntag, 14. Juni 2009 23:41
An: qt-creator at trolltech.com
Betreff: [Qt-creator] Basic question regarding font settings and
QTabWidget



    I have one QTabWidget here. AndI want to change the font (i.e the
words 
    to be in bold ) only if the tabs titles. But when I do it,
everything 
    down in the hierarchy is also changed. All my widgets, which are not
in 
    the same .ui file.    Is there a way to apply the changes only for
the main widget (in this 
    case QTabWidget), but not for all widgets in it ?

    Thank you
    Patric
 


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4098 (20090522) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090615/ee165b17/attachment.html 


More information about the Qt-creator-old mailing list