I have a QTabWidget
that contains 4 tabs. I would like to style each header of them individually : I saw I could use stylesheet to possibly do that. But my problem is that I couldn't just change the header of one tab, where the name of the tab is, without changing the rest of the tab.
In a simple way, imagine I want to have the first tab red, the second blue, 3rd green and the 4th yellow. So, how can I change the style of every single tab without changing the others.
Thanks!
EDIT
I saw there how I could change the style of all tab headers at once, but not individually