Results 1 to 2 of 2

Thread: How to set the window title color?

  1. #1
    Join Date
    Oct 2009
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default How to set the window title color?

    Search says I can't change the color of window title and that OS controls that.

    It's common for many desktop apps now to have a dark default theme such as Photoshop, Aperture, iMovie, etc. and I'd like that for my app too.

    QSS doesn't allow that styling and I see old posts that say it's the OS window manager that controls this, etc. but I can't have an dark themed app with light title bars on it's windows. Also seems toolbars also have the same problem at least on Mac.

    What is the best/easiest way to change the color and other aspects of the window or other OS/top-level items?

    Thanks,
    Brett

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to set the window title color?

    Since it is platform specific, you'll have to look for the platforms' native APIs.

    Cheers,
    _

Similar Threads

  1. GroupBox title color
    By shedo in forum Qt Quick
    Replies: 0
    Last Post: 26th April 2015, 12:50
  2. Change QWidget Title Color
    By binarysolo in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2015, 06:41
  3. Tab Title Color
    By Qt52 in forum Newbie
    Replies: 4
    Last Post: 22nd May 2013, 10:02
  4. How to set color for QGroupBox Title
    By arunvv in forum Qt Programming
    Replies: 5
    Last Post: 4th December 2008, 18:50
  5. Title Bar Color
    By kaaty in forum Qt Programming
    Replies: 1
    Last Post: 8th December 2006, 17:32

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.