Re: detect Zoom event
Brought to you by:
rathmann
From: Raul C. <vid...@gm...> - 2007-09-23 14:50:35
|
Thank you very much Uwe. Tomorrow I will send you some code. Kind Regards Raul 2007/9/23, Uwe Rathmann <Uwe...@ti...>: > > On Friday 21 September 2007 21:21, Raul Cortez wrote: > > > How can I do that? Catching the mouse event? For example the OnZooming > > routine can be executed when I click the left-button and I move the > mouse. > > (Left-button pressed + mouse move = I'm zooming) > > And the OnZoomOutToOriginal routine can be executed when I click the > > right-button of the mouse after zooming. > > Can I have a piece of code? > > QwtPlotZoomer offers a stack of the previously zoomed rectangles, where > you > can step forward/back. The default implementation ( like in the bode > example) > does exactly, what you want. ( Of course you can change the mouse/key > events). > > Obviously you have very basic problems to get your code running. Before > you > get completely lost, I suggest that you send me a small demo code ( with > some > dummy curves ) and tell me how your plot widget should work ( please not > what > you did ). > > Uwe > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > qwt-interest mailing list > qwt...@li... > https://lists.sourceforge.net/lists/listinfo/qwt-interest > |