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"? worth experimenting with, in any case. > 2) we need a way to destroy the hover when the mouse leaves all items; i as marco notes, this really isn't needed. just call hide or setTarget(0) yourself. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel