Results 1 to 17 of 17

Thread: QwtPlot inside a QGraphicsView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QwtPlot inside a QGraphicsView

    I wouldn't disable the backingstore completely - instead invalidate it manually ( QwtPlotCanvas::invalidateBackingstore() ) when you zoom in/out.

    But I strongly recommend not using QGraphicsView: you will run into problems like yours and serious performance issues when zooming in deep. You can zoom in/out using QwtPlot in a better way and QwtPlotRenderer is much more powerful for creating vector graphics.

    As long as there is no real strong reason for embedding a QwtPlot widget into a QGraphicsView: don't do it !

    Uwe
    Last edited by Uwe; 20th January 2013 at 08:43.

Similar Threads

  1. Qslider inside qgraphicsview
    By MAX1971 in forum Newbie
    Replies: 0
    Last Post: 23rd October 2012, 06:34
  2. Replies: 13
    Last Post: 18th December 2009, 09:43
  3. QGraphicsView and QwtPlot
    By Indalo in forum Qwt
    Replies: 1
    Last Post: 16th November 2009, 07:17
  4. Replies: 0
    Last Post: 4th November 2009, 06:12
  5. QwtPlot inside QScrollArea
    By mastupristi in forum Qwt
    Replies: 3
    Last Post: 13th October 2009, 04:28

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.