I'm trying to override the mouse buttons and mouse-wheel to provide *specific*, custom functionality.
For a QwtPlot, I was overriding the eventFilter() and checking for QEvent::Wheel, and then implementing a custom zoom.
The issue is, QwtPlotSpectrogram doesn't have a this->canvas() from which to grab the events, nor a this->invTransform() to implement some of the functionality I was using in a plain QwtPlot.
The functionality I want to implement (accessed via eventFilter()) can be seen here in this thread: http://www.qtcentre.org/threads/5463...-zoom-(How-To)
Is there a way to access the canvas() and invTransform() features from inside of a QwtPlotSpectrogram?
TIA
Edit: Nevermind!!! I figured it out. I just derive from QwtPlot and create the QwtPlotSpectrum inside a QwtPlot. Simple really.
Bookmarks