You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If mouse tracking is switched off, mouse move events only occur if a mouse button is pressed while the mouse is being moved. If mouse tracking is switched on, mouse move events occur even if no mouse button is pressed.
To enable the mouse tracking it should be enough to invoke setMouseTracking(True) but it seems to me that it is ignored.
as a workaround, if I also set self.canvas().setMouseTracking(True) then mouseMoveEvent is invoked, but I had to digg inside PwtPlot to check how it worked
I want to detect the mouse move events over my qwt plot.
According to
mouseMoveEvent
docs:To enable the mouse tracking it should be enough to invoke
setMouseTracking(True)
but it seems to me that it is ignored.I see the events in the stdout only if I keep the mouse button pressed, not just on "hovering" over the plot
The text was updated successfully, but these errors were encountered: