Results 1 to 3 of 3

Thread: QwtPlot - detect zoom

  1. #1
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    1
    Qt products
    Qt4

    Default QwtPlot - detect zoom

    Hello,
    is there a way to detect that QwtPlot has been zoomed by user using his mouse scroll wheel? I need to dynamically recalculate some values of currently visible part of graph's curves.

    Thank you

    Martin

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QwtPlot - detect zoom

    Use mouse event(QWheelEvent) to check and check it only on that plot.

  3. The following user says thank you to sonulohani for this useful post:

    gaminn (8th June 2012)

  4. #3
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    1
    Qt products
    Qt4

    Default Re: QwtPlot - detect zoom

    Thank you! Works perfectly.

Similar Threads

  1. how to detect mouse click on qwtPlot?
    By rambo83 in forum Qwt
    Replies: 7
    Last Post: 18th December 2013, 05:04
  2. Multitouch Zoom with QWTPLOT in Windows
    By cristian.a in forum Qwt
    Replies: 1
    Last Post: 17th January 2012, 09:42
  3. QWTPlot Zoom: cannot zoom negative value
    By jwieland in forum Qwt
    Replies: 0
    Last Post: 8th January 2010, 16:16
  4. Replies: 1
    Last Post: 16th November 2009, 05:25
  5. QGLWidget with text - zoom in / zoom out
    By h123 in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2008, 09:56

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.