Thursday, 15 March 2012

qt - Change color of purple tab text in Konsole CSS -


When there is an input on a tab that is not active, the text for the tab turns into purple color. What is the use of CSS selectors for?

I am using a custom stylesheet in Cones so that how tabs can appear, but it does not understand how it can change a value.

I am using Console 2.13.2 (KDE 4.13.3) Xubuntu 14.04 (XFCE).

As of today, this tab-activity color

  void TabbedViewContainer :: setTabActivity (int index, bool activity) is being set by {Const. Quebelet & amp; Palette = _tabbar-> palette (); Coltshemema Rangesham (Pallet. Can not Coral Group); Const QColor colorSchemeActive = colorScheme.foreground (KColorScheme :: ActiveText) .color (); Const QColor normalColor = palette.text (). Colour (); Const QColor Activity Color = KColorUtils :: Blend (Normal Color, ColorShamactive); QColor Color = Activity? Activity color: QColor (); If (color! = _tabBar-> gt; test text (index)) _tabbar-> setTabTextColor (index, color); }  

has consoles and therefore is probably beyond the reach of custom stylesheets configured in the console.

Note how KColorScheme :: ActiveText is mixed with normal color . You can change the effect of the color by changing the "active text" color in the KDE System Settings -> Color -> Color tab -> Active Text. Konsus has to be restarted to take effect.


No comments:

Post a Comment