[Qt-interest] Generate colors compatible with current palette

Manuel Fiorelli manuel.fiorelli at gmail.com
Fri Nov 20 17:56:40 CET 2009


2009/11/20 Jugdish <jugdizh at gmail.com>:
> So I'm wondering what the best way is to programmatically create a set of
> colors that works well with a given Base + Text color role combination.

A good start point might be this article
<http://doc.trolltech.com/qq/qq26-adaptivecoloring.html> from Qt
Quartely. I don't remember
if it covers the interaction with palettes, but at least shows how one
might create colors which works well with a given one.

Manuel Fiorelli



More information about the Qt-interest-old mailing list