path: root/examples
diff options
authorShawn Rutledge <shawn.rutledge@digia.com>2015-01-27 12:58:42 +0100
committerShawn Rutledge <shawn.rutledge@digia.com>2015-02-16 11:49:46 +0000
commita6ed830f4779e218b8e8f8d82dc4aa9b4b4528a1 (patch)
tree85237d83dd3a105fa167534ca6b2526dc69ff83c /examples
parent428b92583ee2102c7ef16776a9b7785df7ff4e2c (diff)
Flickable: use wheel event pixel deltas when available
Flickable can now handle wheel events which come from touchpads, providing pixel deltas instead of angle deltas. It will interpret them as distance to flick, rather than using an average-velocity physics model as it does when handling events from a physical mouse wheel. This enables much finer control and limits the tendency to "zing" way out of bounds accidentally. It is achieved by refactoring the direct-drag code which is needed for mouse dragging and for touchpad gesture dragging (and eventually touchscreen dragging) into a new internal drag() method. [ChangeLog][QtQuick][Flickable] Flickable handles pixel deltas from trackpad gestures as drags, for a more native feel Task-number: QTBUG-22407 Change-Id: Ia613ddb25f46d452603f7cb567b74e80c95a346c Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions