qt-interest@trolltech.com
[Top] [All Lists]

RE: QGraphicsItem semi-transparent

Subject: RE: QGraphicsItem semi-transparent
From: "Prateek Tiwari"
Date: Wed, 5 Sep 2007 10:01:12 +0530
1. Get the brush of the item.
2. Set the color with alpha value (0-255)in the brush.

This will give you transparency! 

-----Original Message-----
From: fabiodago@xxxxxxxxx [mailto:fabiodago@xxxxxxxxx] 
Sent: Tuesday, September 04, 2007 7:08 PM
To: qt qt
Subject: QGraphicsItem semi-transparent

Anybody know if there is a way to make a QGraphicsItem (and in
particular a QGraphicsPixmapItem) semi-transparent?

I can't found a way to change the opacity of an item...

Thanks!


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode(tm) di Wind
http://i-mode.wind.it/


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>