[Qt-interest] Disabling buttons without gray color
Gopalakrishna Bhat
gopalakbhat at gmail.com
Sun Oct 30 19:45:38 CET 2011
Hi,
It is always good to distinguish a disabled button from the one that is not
because the user keep pressing the button and he will not know what
happened to his actions.
If you really do it as per your question way then you can install event
filters QObject::installEventFilter and filter out the input events.
On Mon, Oct 31, 2011 at 12:06 AM, Nicholas Shatokhin
<n.shatokhin at gmail.com>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?
>
> Best regards,
> Nick.
>
> --
> За використання революційного клієнта електронної пошти Opera:
> http://www.opera.com/mail/
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
--
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111031/ab32cc4e/attachment.html
More information about the Qt-interest-old
mailing list