On Sunday 20 September 2009 17:30:36 Aaron J. Seigo wrote:
> On September 19, 2009, Jacopo De Simoi wrote:
> > 1) we need to activate the items on hover, but with the itemBackground
> >  animation delay, hoverEvent is not good anymore to track that. I can see
> >  two solutons: -  itemBackground should send some signal when its animation
> >  finishes, something like targetReached(qgi *) where the pointer would be
> >  null if the target was not an item. -  itemBackground should make publicly
> >  available the animation time, so that we can animate accordingly
> >  fadein/fadeout in each item.
> 
> i can see uses for both, really. the problem with providing an animation time 
> is that it will never be perfectly timed; what would be better is for the 
> item 
> background to emit a signal whenever it gets an animation update due to its 
> internal animation. then another animation can synchronize with it. perhaps 
> emit something between 0 and 1, with 1 == "target has been reached"?

Actually I like this idea, it can be also very easily implemented, I'll play 
around with it...
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to