How to detect if right button was pressed in MultiPointTouchArea ?
-
wrote on 1 Jun 2025, 18:53 last edited by
Hello, I have a MultiPointTouchArea which accepts a single point.
It works fine with the mouse (left click only) or one finger.
I'd like to perform a different action when the right button of the mouse is pressed.
So far, I've tried to embed a MouseArea in a MultiPointTouchArea and the opposite as well with no luck.
Do you have any suggestion ?Thanks for your help
David
-
wrote on 1 Jun 2025, 19:15 last edited by djobet 6 Jan 2025, 19:15
I found the solution, shortly after having posted : I was missing
acceptedButtons: Qt.AllButtons
1/2