Have a look at QwtPlotZoomer, QwtPlotPanner and QwtPlotMagnifier. These classes should offer all, what you need to implement your own flavour of navigation.Hi there. I looked through QWT docs but didn't find good example of how I can perform zooming:
QwtPlotMagnifier::rescale handles wheel events. If you don't want to use the Qwt navigation helpers, you can simply copy + adopt the code into the slot, that is connected to your pushbutton.idea is simple - make zooming on QPushbutton pressEvent like one, which perform when I use a mousewheel.
Uwe
Bookmarks