On Saturday, August 28, 2010, Ash Ketchum wrote: > the svg files i found are made to spin only, and the animation itself seems > to be coded somewhere in plasma. where can i find the animation part in > the code ?
in this particular case, the animations are in the notifications widget. it is using some QPropertyAnimations, a Plasma::ZoomAnimation, two Plasma::PixmapTransitionAnimations... the pie chart is just draw manually in BusyWidget::paint; it isn't using an animation for that at all. all of this is in kdebase/workspace/plasma/generic/applets/notifications/ui/ so you could either work on modification directly to that code to suit your tastes, and/or you could make the code use generic components (such as add progress-chart styling to Plasma::BusyWidget, and have the notifications plasmoid use that) so that it becomes themable. -- 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