PDA

View Full Version : Set tab color with system color



Suppaman
1st December 2010, 16:15
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

Suppaman
3rd December 2010, 13:37
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? :confused: