[Qt-interest] Disabling buttons without gray color
Arnold Krille
arnold at arnoldarts.de
Sun Oct 30 21:53:30 CET 2011
On Sunday 30 October 2011 19:36:53 Nicholas Shatokhin wrote:
> When I use method setDisable(true) of QPushButton or QTableView, field
> become gray (icons on buttons lose their colors). But I don't need it. I
> need disable button with full color icons. How can I do this?
Make the users change their settings. Or maybe not. Users don't really care
what the developer wants on his theme, they want to keep their theme
throughout their desktop. And I for my part like disabled
options/buttons/fields/windows to be of less contrast and off less color.
Just be glad that your toolkit of choice keeps you focused on your task at
hand and not spent time with dealing all the different theme-settings. And keep
that in mind the next time when you complain about some big corporate not
adhering to standards...
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111030/96944614/attachment.bin
More information about the Qt-interest-old
mailing list