Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2007
QPalette on QTabWidget problems


Message 1 in thread

I have to use custom colors for my prototype.  I've been able to do this for the myriad of states and controls using QPalette and Style sheets.

But I am having some difficulty with the tabs in QTabWidget.  I need to have the current tab be one color, and the other "selectable", but not current tabs be another color.  The current tab is easy, setting the palette using Active state for Window and Window Text.  But I can't figure out how to set the colors of the other tabs.  Anyone have a clue?

Thanks in advance,
Susan
 
_____________________________ 
Susan Macchia 
mailto:susan@xxxxxxxxxxxx 
http://www.smacchia.net 
_____________________________