scroll is done in pixels and in a single pass.
we have 3 properties in widgets that wants to support scroll:
scrollPosition
viewportGeometry
constentsSize
svn path=/trunk/KDE/kdelibs/; revision=1032821
kinetic scrolling.
This will help to have a proper scrolling in cases that the
viewport is several times smaller than the widget size.
svn path=/trunk/KDE/kdelibs/; revision=1032023
The current design uses 3 properties to calculate movement (horizontal/vertical
position and the viewport size) being up to the client class (e.g. ScrollWidget)
move its widgets when the position property changed.
It will allow to reuse the kinetic scrolling class with other plasmoids.
svn path=/trunk/KDE/kdelibs/; revision=1030136
Since it generates lots of wheel events, it was re-triggering the bouncer
animation before it was completed. The result was a 'jittering' (d)effect.
I also increased the friction factor to make it scroll slower.
svn path=/trunk/KDE/kdelibs/; revision=1026404
ATM, it uses timers to do the animation, the idea is to use factory pattern
and implement the animation with QProperyAnimation too (using Qt 4.6).
svn path=/trunk/KDE/kdelibs/; revision=1024929