[Qt-interest] QPalette ColorRole-s
Nikos Chantziaras
realnc at arcor.de
Thu Jan 27 16:12:03 CET 2011
On 01/27/2011 04:43 PM, Mihail Naydenov wrote:
> Is there a particular reason for not having a UserRole last-enum-value in
> ColorRole? So one can define custom roles.
>
> I guess it is to reinforce color reuse, but limits the usability of the class
> for creating custom widgets.
>
>
> How is this supposed to be handled?
I guess by subclassing QPalette and introducing your own custom roles.
More information about the Qt-interest-old
mailing list