Experiments in highlighting widgets that have input focus

David Faure faure at kde.org
Wed Jan 24 14:47:13 GMT 2007

On Wednesday 24 January 2007 07:33, Boudewijn Rempt wrote:
> Doesn't Qt already does this? I mean, I notice that Krita (and other KDE4 
> apps) flicker from dark to light gray and back whenever it loses and gains 
> focus. 

From QPalette: 
enum ColorGroup { Disabled, Active, Inactive }  (and Normal==Active)
You're seeing this effect when the Active and Inactive colorgroups have different colors.
Apparently this is from the default kde palette then - I guess KGlobalSettings::createApplicationPalette is to blame?

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list