[PATCH] Correct color for disabled Buttons

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Mon Sep 27 21:28:32 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Disabled buttons (and backgrounds) were displayed in a wrong color.
Fixed by setting QPalette::Disabled for
QColorGroup::Button/QColorGroup::Background to the same color as
QPalette::Enabled which is imho the correct value since only the text
gets greyed out.
But this doesn't fix the problem that a disabled QActionlabel isn't
showed  - see examples/action/toggleaction (insert
"labelonoffaction->setEnabled(false);" to see the problem).

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBWGngnNKwkgf+zVMRApHQAJ0ZlrYhcfXhd6FoIQux5fsKhan9RwCeO4rL
XfsgJuFJdNlIWSRf+0qtjwc=
=yZpc
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qapplication_win.cpp.patch
Url: http://mail.kde.org/pipermail/kde-cygwin/attachments/20040927/1b0b7665/qapplication_win.cpp.cc


More information about the kde-cygwin mailing list