Results 1 to 2 of 2

Thread: Set tab color with system color

  1. #1

    Default Set tab color with system color

    Hi all

    In my qt application I'm using the QtTabWidget control but the current selected tab is always white (tab label and background). I want to set this color as system color. This mean if the normal system color of window background is grey I want the same color also for selected tab. I see the piossible solution are stylesheet but I still didn't understand how to use it for my purpose.
    Someone can help me?

    Thank you

  2. #2

    Default Re: Set tab color with system color

    I'm making some tests with stylesheet but without success until now. If I set some stylesheet property all the tab layout change. I don't want to change the tab layout, I only want to change the background color from white to system color (grey in my case). Some suggestion?

Similar Threads

  1. How can I get System setting color
    By dpatel in forum Qt Programming
    Replies: 2
    Last Post: 20th July 2010, 08:20
  2. Replies: 3
    Last Post: 22nd January 2010, 16:46
  3. Display Label Color by selecting Color Picker
    By sosanjay in forum Qt Programming
    Replies: 1
    Last Post: 25th September 2009, 06:11
  4. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25
  5. How to get system color in QT4 as in C#.NET
    By mitesh in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2006, 07:03

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.