Why you want to write a custom code for kinetic scroll?
You can use FlickCharm for the same.
Why you want to write a custom code for kinetic scroll?
You can use FlickCharm for the same.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
I'm not using custom scroll. Its a new class provided by Qt 5 which enables kinectic scroll on the scroll areas. Previously in Qt 4 i has used FlickCharm for this purpose.
Now since i'm migrating my application to Qt5 i thought of giving it a try.
Well my observation about QScroller is:
1. QScroller works when using the QScroller::LeftMouseButtonGesture on QScrollArea on touch devices and desktop
2. QScroller works using QScroller::LeftMouseButtonGesture and QScroller::TouchGesture on QListViews/treeviews on touch devices and desktop
3. QScroller doesnot work on QScrollArea when QScroller::TouchGesture is used for touch devices.
Bookmarks