-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hey,
if you want to stop scrolling when the mouse is above the plot you can overwrite the QScrollArea's eventfilter
self.scrollArea.viewport().installEventFilter(self)
and then do something like that:
def eventFilter(self, obj, event):
if event.type() == QtCore.QEvent.Wheel:
if self.Plot.underMouse():
return True
I thought you might be looking for something like that.
kangalio
Metadata
Metadata
Assignees
Labels
No labels