Results 1 to 9 of 9

Thread: Why QStyle dosen't changes the standard font?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    38
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Why QStyle dosen't changes the standard font?

    Hi all, I want to know how to set to the standard font of a specified style (winxp, win, platique,...). I change the style of my app in this way:
    Qt Code:
    1. QApplication::setStyle(QStyleFactory::create("plastique"));
    2. QApplication::setPalette(QApplication::style() -> standardPalette());
    To copy to clipboard, switch view to plain text mode 
    but it only changes the colors to the standard palette of the style (the font is always the windows xp font). I attach an image from Qt docs that shows how is the standard font of each style. I specially want to know the font of the 'plastique' style

    Thanks.
    Attached Images Attached Images

Similar Threads

  1. Qt renders wrong font
    By durbrak in forum Qt Programming
    Replies: 8
    Last Post: 2nd November 2006, 14:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.