[Qt-interest] Is is possible to apply different graphics effect to child and parent

Samuel Rødal sroedal at trolltech.com
Wed Jan 13 10:52:18 CET 2010


manish.s.sharma at nokia.com wrote:
> Hi all,
>  
> I have a QGraphicsWidget which is a parent of some QGraphicsItems. I 
> want to sent a QGraphicsBlurEffect to the parent widget and a 
> QGraphicsOpacityEffect to all of its child items. Is it possible?
>  
> Regards,
> Manish

The blur effect will apply to both the parent and all its children. You 
can have individual effects for the children in addition, so in this 
case the children will both be blurred and faded, whereas the parent 
will only be blurred.

--
Samuel






More information about the Qt-interest-old mailing list