In Qt 5.10 Pointer Handlers were introduced. I'm trying to use these instead of MouseArea in my application. In particular, I am using DragHandler. I would like to determine when a drag has started and be notified of grab changes. Qt provides DragHandler::grabChanged(GrabTransition transition, EventPoint point) (see here) so in my code I am using this as:
DragHandler{
id: dragHandler
onGrabChanged: {
// how to use transition ???
}
}
However, the GrabTransition seems not to be implemented and the documentation doesn't give any clue on what values this enum can take.