PDA

View Full Version : Kinetic scrolling in QListWidget



jimiq
15th September 2009, 15:34
Hi there,

I am very new to Qt but want to implement kinetic scrolling in QListWidget. I have seen post that talk about reimplementing the moveMouseEvent() but I don't know where to start.
Can someone help me, can you provide some examples on how to do it?
I am can obtain the mouse click position and detect the mouse move but I don't know how to translate the move back to the scroll bar and move the list.

Many thanks
Jim

:confused:

aamer4yu
15th September 2009, 17:28
May be you are looking for the flick charm example (http://labs.trolltech.com/blogs/2008/11/15/flick-list-or-kinetic-scrolling/) :)

jimiq
16th September 2009, 09:43
Thanks, I'll take a look.

Jim