What exactly are you trying to achieve? Just an alternate functionality on left/right click of the same button?
Maybe something with an eventFilter instead?
(not python in that answer but the idea is the same)
What exactly are you trying to achieve? Just an alternate functionality on left/right click of the same button?
Maybe something with an eventFilter instead?
(not python in that answer but the idea is the same)