[Qt-interest] setting background color or image

chandrasekar wagmare sekarwagmare at gmail.com
Tue Mar 3 12:13:00 CET 2009


you can use style sheet and set background color to defined color or an
image ...
        in designer .. right click on the form and select style sheet ...

On Tue, Mar 3, 2009 at 4:05 PM, <manish.s.sharma at nokia.com> wrote:

>  afaik you need to implement paint function of the widget and put your
> painting code in the paint function... Please correct me if i am wrong.
>
>  ------------------------------
> *From:* qt-interest-bounces at trolltech.com [mailto:
> qt-interest-bounces at trolltech.com] *On Behalf Of *ext Keshava Krishna
> *Sent:* Tuesday, March 03, 2009 4:03 PM
> *To:* qt-interest at trolltech.com
> *Subject:* [Qt-interest] setting background color or image
>
> hi,
>
> how can i change  the background color of a widget to a  ARGB color ??
> also tell me if there is any way to set a background image...
>
> Regards,
> Keshava.
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090303/ba204288/attachment.html 


More information about the Qt-interest-old mailing list