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

manish.s.sharma at nokia.com manish.s.sharma at nokia.com
Wed Jan 13 11:29:50 CET 2010


Thanks for the reply.
Actually I don't want the COMBINED effects to take. Can we not set altogether different effects to the child items than the parent items?

Regards,
Manish

>-----Original Message-----
>From: Samuel Rødal [mailto:sroedal at trolltech.com]
>Sent: Wednesday, January 13, 2010 3:22 PM
>To: Sharma Manish.S (Nokia-D/Bangalore)
>Cc: qt-interest at trolltech.com
>Subject: Re: [Qt-interest] Is is possible to apply different graphics
>effect to child and parent
>
>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