Results 1 to 2 of 2

Thread: Can you add color to the Qt Widgets?

  1. #1
    Join Date
    Jul 2012
    Posts
    201
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Can you add color to the Qt Widgets?

    Hi everyone, the title says it all. I need to know if can change the default classic style sheet for Qt Windows to somethings attractive? if i can, how do I do it?

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

    Default Re: Can you add color to the Qt Widgets?

    There are many options.

    You can change the application's palette, set a different widget style or use style sheets.
    See QApplication::setPalette(), QApplication::setStyle(), QApplication::setStyleSheet()

    Cheers,
    _

Similar Threads

  1. Replies: 0
    Last Post: 3rd July 2013, 18:51
  2. Replies: 3
    Last Post: 22nd January 2010, 16:46
  3. Replies: 1
    Last Post: 18th September 2009, 10:32
  4. Replies: 1
    Last Post: 30th March 2009, 14:28
  5. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25

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.