I found a solution:
To stop flicking when use a pinch gesture, mouse events inside a child component of a flick page you have to set the flickable’s property “interactive” to false. Then the pinch/mouse events are propagated to underlaying childs.
To get key input you have to set Flickable’s focus to true.
Note: In my case I use a QGraphicsProxyWidget to embed a custom QGraphicsView/Scene into QML. The propagated events from QML to that widget seems to finished at QGraphicsProxyWidget’s handler. From that point it’s your task to deliver events further.
To set focus of Flickable and change it’s property interactive I emit my defined signals interactiveFlick(bool) and focusFlick(bool) from inside QGraphicsProxyWidget::sceneEvent().
↧