Results 1 to 2 of 2

Thread: Qwt Zoom

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2012
    Posts
    3
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Qwt Zoom

    Hi all,

    My curve passes a filter before I present the graph.
    Because I do not want to present all the points, but I want that when I do a zoom to get a higher resolution of the points.

    I currently have implementation of zoom that expands the scales.

    Qt Code:
    1. QwtPlotZoomer* zoomer = new QwtPlotZoomer( canvas() );
    2. zoomer->setRubberBandPen( QColor( Qt::white ) );
    3. zoomer->setTrackerPen ( QColor( Qt::white ) );
    4. zoomer->setMousePattern( QwtEventPattern::MouseSelect2,
    5. Qt::RightButton, Qt::ControlModifier );
    6. zoomer->setMousePattern( QwtEventPattern::MouseSelect3,
    7. Qt::RightButton );
    To copy to clipboard, switch view to plain text mode 

    I want to add to the implementation the possibility of drawing more points.
    My question is there code already prepared to do it?
    If not, for a start will help me to know how to get the values ​​of X axis when the user selected era to zoom.

    My setup
    Qt 4.7.0
    QwtPlot 6.0.0
    Windwos XP SP3 (32bit)



    I

  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: Qwt Zoom

    Hey, you previously asked this thing and you again and again posting the same question. Ask only in one thread.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

Similar Threads

  1. how to zoom in zoom out tableview in QT programming?
    By nageshvk in forum Qt Programming
    Replies: 0
    Last Post: 27th October 2010, 05:05
  2. QWTPlot Zoom: cannot zoom negative value
    By jwieland in forum Qwt
    Replies: 0
    Last Post: 8th January 2010, 16:16
  3. Replies: 1
    Last Post: 16th November 2009, 05:25
  4. need some help on zoom.
    By rishiraj in forum Newbie
    Replies: 3
    Last Post: 7th January 2009, 04:34
  5. QGLWidget with text - zoom in / zoom out
    By h123 in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2008, 09:56

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
  •  
Qt is a trademark of The Qt Company.