Results 1 to 5 of 5

Thread: Using a zoomer to generate horizontal scrolling without zoom

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: Using a zoomer to generate horizontal scrolling without zoom

    Why don't you simply use a QwtPlotPanner instead of trying to mangle the zoomer code to do the same thing? The panner is designed to move the canvas around without changing the zoom level.

    If you need to restrict the panning to one axis only, then you can derive from QwtPlotPanner and reimplement as required. I don't remember exactly which methods need to be changed, but it shouldn't be too hard to figure that out.

  2. The following user says thank you to d_stranz for this useful post:

    frankiefrank (2nd January 2011)

Similar Threads

  1. Replies: 1
    Last Post: 7th December 2010, 06:49
  2. 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
  3. Horizontal Scrolling QListWidget
    By bl1nk in forum Qt Programming
    Replies: 1
    Last Post: 17th July 2010, 08:44
  4. How to get vertical/horizontal zoom box?
    By knicewar in forum Qwt
    Replies: 3
    Last Post: 23rd March 2010, 04:09
  5. Replies: 1
    Last Post: 16th November 2009, 05:25

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