Results 1 to 2 of 2

Thread: How to clear or erase QwtPlotcurve?

  1. #1
    Join Date
    Sep 2011
    Posts
    3
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default How to clear or erase QwtPlotcurve?

    hi I am working on oscilloscope to plot waveform. I want to clear the waveform but I am not able to clear the waveform. There is no clear builtin function for qwtplot and also qwtplotcurve. Please can anyone help. Thanks in advance...............
    kishore

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

    Default Re: How to clear or erase QwtPlotcurve?

    Qt Code:
    1. curve->setData( NULL );
    To copy to clipboard, switch view to plain text mode 

    Uwe

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

    Momergil (2nd February 2014)

Similar Threads

  1. Using QPainter to 'erase' an area of widget?
    By altec42lansing in forum Qt Programming
    Replies: 13
    Last Post: 17th June 2011, 16:19
  2. PaintEvents() don't erase content before call
    By sagirahmed in forum Qt Programming
    Replies: 3
    Last Post: 12th October 2010, 05:44
  3. Replies: 4
    Last Post: 16th January 2010, 10:08
  4. How to erase everything widget has painted?
    By TheNewGuy in forum Newbie
    Replies: 1
    Last Post: 12th December 2009, 07:23
  5. Erase menubar
    By lixo1 in forum Qt Programming
    Replies: 2
    Last Post: 29th January 2009, 16:04

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.