Results 1 to 2 of 2

Thread: How can i clear the rawData?

  1. #1
    Join Date
    Sep 2008
    Location
    Slovakia, Nitra
    Posts
    15
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How can i clear the rawData?

    Hi,

    I want to make two curves in one plot, with possibility, that it should draw only one or also both of them. For me (beginner), seems to be the easiest way by clearing the data of one curve. It's hard to explain me it in english...
    For example:
    1. I have two curves (crv1, crv2).
    2. after that i make draw one of them (crv1).
    3. i could rewrited the data of crv1, so I could draw the next curve instead of one.
    4. Now, I want to draw both of them, it works also (crv1, crv2).
    5. But, now if i want draw only the first one, the second curve is still there.


    How should i clear the data of curve? Because I didn't find anything, maybe i'm very tired..., or how should i solve this problem?
    thanks!

  2. #2
    Join Date
    Sep 2008
    Location
    Slovakia, Nitra
    Posts
    15
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How can i clear the rawData?

    OK, now I found the detach() function, but i think there is still nicer solution...

Similar Threads

  1. clear text in QDateEdit
    By dyams in forum Qt Programming
    Replies: 6
    Last Post: 31st August 2010, 22:30
  2. problem clear QStringList
    By jaca in forum Newbie
    Replies: 4
    Last Post: 30th May 2008, 16:10
  3. Replies: 1
    Last Post: 14th May 2008, 19:35
  4. svn problem: help me clear the repository
    By magland in forum General Discussion
    Replies: 1
    Last Post: 26th September 2007, 01:54
  5. QTextBrowser Clear selection
    By sreedhar in forum Newbie
    Replies: 2
    Last Post: 4th April 2006, 08:23

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.