[Qt-interest] Draw A Disabled Custom Widget As Gray

tangke tangk at lemote.com
Fri Jul 24 09:24:50 CEST 2009


do you rewrite the paintEvent function?

best regards
On 07/24/2009 01:58 AM, Karol Krizka wrote:
> Hi there,
>
> I have a custom-drawn widget that I would like to draw grayed out when
> in disabled state. What is the best way to accomplish this? I though
> about
>
> The drawing part consists of painting a QPixmap.
>
> --
> Cheers,
> Karol Krizka
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>    




More information about the Qt-interest-old mailing list