Results 1 to 2 of 2

Thread: How to get a custom QwtPlotCurve?

  1. #1
    Join Date
    Nov 2006
    Posts
    58
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default How to get a custom QwtPlotCurve?

    I am using Qwt 5.0.1 and Qt 3.3.5. I want to subclass my own PlotCurve from QwtPlotCurve.
    The derived PlotCurve may looks like a circle with a filled color. I give it left, right, top, bottom and center point data(or only a radius and a center point data) and also a specified filled color. The PlotCurve should be shown as a filled circle based on these data by .

    Could someone tell me the basic method to do it ? Some code examples will be better.

    Thanks a lot.
    Best regards
    Last edited by luffy27; 6th June 2007 at 21:51.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to get a custom QwtPlotCurve?

    Looks like you want to implement something like here:
    http://qwt.svn.sourceforge.net/viewv...pp?view=markup

    Better derive directly from QwtPlotItem, if you don't want to implement a curve.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 5th March 2007, 21:50
  2. Custom plugin for a layout
    By cocheci in forum Qt Tools
    Replies: 2
    Last Post: 12th June 2006, 19:36
  3. Custom Qt dll name
    By tony007 in forum Installation and Deployment
    Replies: 2
    Last Post: 10th March 2006, 16:29
  4. Replies: 16
    Last Post: 7th March 2006, 16:57
  5. Replies: 4
    Last Post: 2nd March 2006, 00:11

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.