[Development] extending the cocoa native style via a plugin: feasible?

Matthew Woehlke mwoehlke.floss at gmail.com
Tue Dec 1 16:43:59 CET 2015


On 2015-12-01 09:03, Olivier Goffart wrote:
> Are you talking about the additional roles in KColorScheme? Then I guess the 
> solution is to add them to QPalette.

Yes, please :-). I was disappointed that QPalette didn't get to looking
more like KColorScheme in Qt5.

It's really useful to have themed colors for more than just "basic text"
and "basic background". There are many places that could make use of
these, if only they were available. (I cringe inside whenever I make
text "red", because I know that someone, somewhere, has red as their
default text color, or worse, default background color. With
KColorScheme I can use "negative foreground" instead and be confident
that it will appear as the user wants.)

-- 
Matthew




More information about the Development mailing list