Re: Plasma::Svg question

2008-10-08 Thread Toussis Manolis
On Wednesday 08 October 2008 19:06:38 Marco Martin wrote: > On Wednesday 08 October 2008, Toussis Manolis wrote: > > it's an applet that gets painted every 10 o more seconds. > > So I think setOpacity isn't so expensive. (and ofcourse much easier) > > Any problem with that? (I mean the refresh is v

Re: Plasma::Svg question

2008-10-08 Thread Marco Martin
On Wednesday 08 October 2008, Toussis Manolis wrote: > it's an applet that gets painted every 10 o more seconds. > So I think setOpacity isn't so expensive. (and ofcourse much easier) > Any problem with that? (I mean the refresh is very sparse) problem is that the applet won't get repainted only wh

Re: Plasma::Svg question

2008-10-08 Thread Toussis Manolis
it's an applet that gets painted every 10 o more seconds. So I think setOpacity isn't so expensive. (and ofcourse much easier) Any problem with that? (I mean the refresh is very sparse) On Tuesday 07 October 2008 00:21:27 Zack Rusin wrote: > On Monday 06 October 2008 16:47:06 Rafael Fernández Ló

Re: Plasma::Svg question

2008-10-06 Thread Zack Rusin
On Monday 06 October 2008 16:47:06 Rafael Fernández López wrote: > Hi, > > > you can also call setOpacity on the QPainter directly, but that can > > *very* slow and that above method is usually faster, and at worst the > > same speed. > > Aaron explained it pretty well, and please, don't use setOpa

Re: Plasma::Svg question

2008-10-06 Thread Rafael Fernández López
Hi, > you can also call setOpacity on the QPainter directly, but that can *very* > slow and that above method is usually faster, and at worst the same speed. Aaron explained it pretty well, and please, don't use setOpacity (as also Aaron did suggest). I want to put emphasis here... since setOpac

Re: Plasma::Svg question

2008-10-06 Thread Aaron J. Seigo
On Monday 06 October 2008, Toussis Manolis wrote: > I need a little help about Plasma::Svg > > I know I can use paint() to draw a Plasma::Svg object on the QPainter of a > Plasma applet. > What I need is to draw it with alpha=0.3 . How I can do that? this isn't specific to Plasma::Svg, but applica

Plasma::Svg question

2008-10-06 Thread Toussis Manolis
I need a little help about Plasma::Svg I know I can use paint() to draw a Plasma::Svg object on the QPainter of a Plasma applet. What I need is to draw it with alpha=0.3 . How I can do that? Thanks In advance Toussis Manolis ___ Plasma-devel mailing