QTabWidget and multi color title
-
How can i get this ? I want to change the color of the current tab in a multi color way .
-
QTabWidget* sorry
-
You can use setTabTextColor on the QTabBar widget.
-
When i use it, it set one color to the text but i want to st multi color for the text like grey and black
-
up pls
-
[quote author="Kiut" date="1324270908"]up pls[/quote]
It is not acceptable to "up" your topic so soon. Allow for at least a couple of days for people to respond. Note that users are spread around the globe, and the means different time zones...
-
[quote author="Kiut" date="1324237629"]When i use it, it set one color to the text but i want to st multi color for the text like grey and black[/quote]
There is no default functionality in Qt for that. You will need to subclass and render the text yourself (perhaps via QTextDocument?)