Specifiying QGraphicsItem touch event targets



  • Hi,

    I have an application where items on a scene can be resized using a two finger pinch style gesture, but when the item is very small, the events touch positions are slightly outside the boundingRect() of the target item and so the QTouchEvent propagates up to the view. While it is very easy to detect if this happens, I was hoping to avoid having to manually filter and redistribute the incoming touch events. Is there anyway to specify some sort of touch event grabber similar to the way an item can become the mouse grabber?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.