Results 1 to 3 of 3

Thread: QwtPlotZoomer - zooming in on a cursor position

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,326
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 880 Times in 828 Posts

    Default Re: QwtPlotZoomer - zooming in on a cursor position

    I wouldn't recommend to use QwtPlotZoomer for your way of zooming. Simply write an event filter for the plot canvas where you catch context menu events. If you want to zoom in translate your zoom rectangle into scale coordinates ( using the scale maps ) and call setAxisScale(). For the zoom stack use QStack.

    Uwe

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

    torrentss (20th August 2010)

Similar Threads

  1. QTextEdit restore cursor position
    By artur231 in forum Qt Programming
    Replies: 3
    Last Post: 15th May 2014, 22:02
  2. Cursor Position in scene
    By rogerholmes in forum Newbie
    Replies: 2
    Last Post: 12th March 2010, 15:31
  3. Display cursor position in QGraphicsView
    By dbrmik in forum Qt Programming
    Replies: 1
    Last Post: 2nd April 2009, 15:06
  4. Replies: 6
    Last Post: 30th May 2007, 09:25
  5. Cursor scene position
    By xgoan in forum Qt Programming
    Replies: 1
    Last Post: 26th December 2006, 13:51

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.