[Qt-creator] Basic question regarding font settings andQTabWidget

Patric userqt at gmail.com
Mon Jun 15 13:40:19 CEST 2009


Thank you very much. 

Patric
  ----- Original Message ----- 
  From: Ladnar, Marc 
  To: qt-creator 
  Sent: Monday, June 15, 2009 8:50 AM
  Subject: Re: [Qt-creator] Basic question regarding font settings andQTabWidget


  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




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

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com



------------------------------------------------------------------------------


  _______________________________________________
  Qt-creator mailing list
  Qt-creator at trolltech.com
  http://lists.trolltech.com/mailman/listinfo/qt-creator



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

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com




__________ 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/31fbf321/attachment.html 


More information about the Qt-creator-old mailing list