QCustomPlot Discussion and Comments

Mouse wheel pass-throughReturn to overview

I have mouse-wheel range zooming disabled, but I need the mouse wheel events to be passed through to the underlying scroll pane. Any way to do this without changing or overriding QCustomPlot code?

You can use an event filter for this.



If it's a mouse wheel event, you keep and process it, any other events you can ignore and so have them given to the QCustomPlot (by returning QObject::eventFilter like in the example code in the link).