[SOLVED] QTabWidget: Drawing custom tabs
-
Hello,
Is it possible to draw custom of a QTabWidget without creating a new widget that inherits from QTabWidget.
I know it's possible to use StyleSheet to change the color, the margin, the round corner's radius but I would like to draw a polygon in place of the standard rectangle. -
Hi,
Since you wan't to do some custom painting, you should create a class inheriting for QTabBar and then set it on your QTabWidget
Hope it helps
-
Thanks, it confirms what I though.