Qt 6.11 is out! See what's new in the release
blog
Flickable velocity
QML and Qt Quick
2
Posts
2
Posters
821
Views
1
Watching
-
Hi all,
I am making a component based on GridView to show a grid of items. The items can be dragged and the GridView should scroll when the item come near to the edge.
I think I should use the flick(qreal xVelocity, qreal yVelocity) to make the scroll. But there has no document to explain the parameter. It just say it is pixel/sec. But what is the duration? Without the formula , it is quite difficult to find out the correct value that fulfill my requirement.
Anyone know the formula?
Thank you.