[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: custom animations in plasma
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-08-28 17:23:47
Message-ID: 201008281023.54135.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic