[Interest] How to preventing Flickable to steal touch events
Frederik Gladhorn
frederik.gladhorn at theqtcompany.com
Wed Nov 26 14:52:27 CET 2014
On Wednesday, November 26, 2014 12:53:54 PM Kate Alhola wrote:
> I have tried to get QtQuick2 maps to work with flickable. The issue is
> that Flickable steals touch events from Maps gesture area. There is no
> prevent stealing property on map component.
>
> QDeclarativeGeoMap inherits QQuickItem . QQuickItem has
> grabTouchPoints(const QVector<int> & ids) and setKeepTouchGrab(bool keep)
> methods.
>
> I modified QDeclarativeGeoMap::touchEvent to usegrabTouchPoints and
> setKeepTouchGrab but still I can't prevent flickable to steal touch events.
You could try to also set the mouse equivalents (setKeepMouseGrab iirc).
Cheers,
Frederik
>
> Is there any method even in C++ level to prevent flickable to stealing
> events from QQuickItem ?
>
> Kate
More information about the Interest
mailing list