QPalette::ColorGroup and KColorScheme

Matt Newell newellm at blur.com
Mon Aug 13 22:43:10 BST 2007

On Monday 13 August 2007 12:42, Matthew Woehlke wrote:

> More important is the SIC, which is that users really ought to say what
> QPalette::ColorGroup they are using (oh, and Qt seems to have forgotten
> about inactive+disabled). So I'm inclined to change the KColorScheme
> ctor to require an enum to specify this (alternatively it can be
> optional). Convenience ctors, e.g. taking a QPalette or even QWidget
> (assuming I can get the correct result from them) can be considered.

Umm, doesn't "Disabled" assume "Inactive", since a disabled widget should 
never be "Active"?


More information about the kde-core-devel mailing list