Important: Please read the Qt Code of Conduct -

Termination of a specific TouchPoint within QTouchEvent

  • I am trying to figure out how to terminate a specific TouchPoint within a QTouchEvent. The basic idea is that I start a QTouchEvent with a specific TouchPoint ID and form a shape in a single touch motion. Once the shape has closed (I detect when the most recent touch position for the specific TouchPoint ID is close to the initial touch position) I want that TouchPoint within the QTouchEvent to be terminated. When I say terminated, I mean that that specific TouchPoint ID will stop creating QEvent::TouchUpdate events. I do not want the QEvent::TouchUpdate event to be sent after a shape has been completed even if the user may continue with a touch interaction.

    Is there a specific function I need to call to terminate the TouchPoint? Thanks for the help.

Log in to reply