Setting text color of Plasma::TabBar

Matthias Fuchs mat69 at gmx.net
Wed Apr 27 16:41:34 CEST 2011


Hi,

I want to change the tab color for specific tabs of a Plasma::TabBar.
Yet doing
mTabBar->nativeWidget()->setTabTextColor(index, myColor);
did not work.
Is what I want to do possible with Plasma::TabBar?

Btw. the use case for this is the comic applet.
A huge advantage of looking at comics in an rss reader is that you instantly 
see if there are new strips. Basically I want to do the same thing for the 
comic applet, changing the color for those tabs that have a new strip.

Cheers,
matthias


More information about the Plasma-devel mailing list