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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to