[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Sane pseudo random colors; was: PieChart widget
From: Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date: 2007-09-20 18:48:23
Message-ID: fcuf9n$b29$1 () sea ! gmane ! org
[Download RAW message or body]
Luciano Montanaro wrote:
> They should probably be brushes, however, so various kind of
> stripes could be used for monochrome or high-contrast themes.
Have you looked at KColorScheme? The only things non-brushes there come
from ::shade (which is really an offshoot of KColorUtils with palette
smarts); all other palette colors are already QBrush's :-).
Of course, they don't work well yet (most back-end code just assumes
that really they are just colors) and the kcm is nowhere near being able
to configure /brushes/ in the palette (and I don't even want to think
how many apps would be confused by a real brush). But the API is already
anticipating this eventuality :-).
(How do you write a QBrush to a KConfig? :-) Is that already supported?)
--
Matthew
"Passion is inversely proportional to the amount of real information
available." -- Benford's Law of Controversy
http://en.wikipedia.org/wiki/Benford%27s_law_of_controversy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic