Qt TabWidget Each tab Title Background Color
This is the original Tabwidget without setting title background color My customer ask me to do something like this; Set different background colour for title All - Yellow purchase - light blue POS Sales - light green Cash Sales - Pink invoice - light purple I have try the SetStyleSheet like: QTabBar { background-color : Yellow; } But all tab Color changed Somebody know how to setting each QTabBar background color? These properties can not be set through QSS. To change the style to each tab we must create a custom QTabBar and override its paintEvent method, to be able to change the style of