[Interest] QtQuick2 / Map and Flickable sensitivity

Aaron McCarthy mccarthy.aaron at gmail.com
Thu Nov 20 03:10:19 CET 2014


Hi,

On Wed, 19 Nov 2014 16:22:53 Kate Alhola wrote:
> Now when porting Android/iOS app from QtQuick1 to QtQuick2 there is couple
> of issues.
> 
> How to enable QML Map component gesture area pan/zoom when it is located
> inside of Qml FLickable ? In MouseArea there is preventStealing property
> but there is not such in GestureArea ?

This is a limitation of the current gesture area implementation.

> Now about 90% of time Flickable takes the events.

The times when Flickable does not take the events are likely when the 
Flickable determined that the events are not intended for it. Such as when 
flicking horizontally in a Flickable that only scrolls vertically.

> Other related question is that how to prevent too sensitive flicking.
> QApplication has property setStartDragDistance but there is no such in
> QGuiApplication
>
> How to adjust sensitivity of flickable with QtQuick2 ?

Panning and pinching in the QML Map component gets the start drag distance 
from QGuiApplication::sytleHints().

Cheers,

-- 
Aaron McCarthy



More information about the Interest mailing list