Quote Originally Posted by Uwe View Post
Nevertheless your code won't work as you want to catch events of the plot canvas ( not the plot widget itsself ). Here you have to install en event filter instead of overloading mousePressEvent.
Thank you Uwe, I'm studying the "bode" example to understand exactly what you said to me (I hope it is the right example).
In any case, I'm working with mouse press event now, because I'm working on my PC, but the target will be a touch event, because the real hardware will be a touch screen interface.
I think what you said will be the same, even on touch screen.
Bye, c