We have used QwtPlotMagnifier to zooming in and zooming out of a QwtPlot. Can someone please tell us how to integrate scroll bars with QwtPlotMagnifier, so that when zoomed in, we can scroll the plot
We have used QwtPlotMagnifier to zooming in and zooming out of a QwtPlot. Can someone please tell us how to integrate scroll bars with QwtPlotMagnifier, so that when zoomed in, we can scroll the plot
This is something you have to implement yourself.
Guess you can adopt the ScrollZoomer class ( derive it from QwtPlotMagnifier instead of QwzPlotZoomer ) from the realtime example.
Uwe
But most of the methods used in scrollzoomer are inherited from QwtPlotZoomer and hence not recognized when QwtPlotZoomer is changed to QwtPlotMagnifier...
Its about connecting a QAbstractSlider or QwtAbstractSlider to QwtPlot::setAxisScale. The ScrollZoomer is only one of many possible combinations.
Uwe
Bookmarks