Results 1 to 2 of 2

Thread: Curve plotter widget, what's the best strategy?

  1. #1
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    381
    Thanks
    97
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Curve plotter widget, what's the best strategy?

    I'm planning to implement a widget for displaying curves of data plots. What I already know is that using simple widget painting do draw hundreds or thousands of little lines to represent a curve is too slow. So I see two possible approaches to do this more porfessionally.

    1. Use an offscreen pixmap for drawing and reuse previously drawn parts as much as possible.

    2. Use the graphics view framework.

    What's your opinion? Is there maybe a third approach?

  2. #2
    Join Date
    May 2010
    Posts
    86
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Curve plotter widget, what's the best strategy?

    I'm using Qwt for this purpose, but I don't know much about its effectiveness. It seems to be fast to me.

Similar Threads

  1. Replies: 0
    Last Post: 20th August 2010, 12:50
  2. Replies: 4
    Last Post: 29th April 2010, 06:11
  3. incremental 2d plotter with QGraphicsView
    By bingofuel in forum Qt Programming
    Replies: 1
    Last Post: 25th August 2009, 06:03
  4. question about plotter
    By Cantora in forum Newbie
    Replies: 0
    Last Post: 6th April 2009, 10:45
  5. Plotter
    By chrisdsimpson in forum Newbie
    Replies: 4
    Last Post: 8th April 2008, 21:32

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.