I need to be able to set the colors (via use of QPalette) of the tabs in a QTabBar (or the tab bar in a QTabWidget) individually. I can't seem to find a simple way to do this, short of creating a custom QTabBar.

Does anyone know if there is a way to do this?

Thanks in advance,
Susan