Results 1 to 2 of 2

Thread: QWT Curve symbol show/hide

  1. #1
    Join Date
    Apr 2013
    Posts
    64
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default QWT Curve symbol show/hide

    I am able to set set symbol for curve. Is there any option to hide/show or change color when needed? The problem is the only way I could do was setting a "NoSymbol" style to remove symbols, but I understand it is in-efficient as it deletes all the old symbols and create new each time I toggle. Is there a better way to sho or hide curve symbols display after setting only once first time?

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

    Default Re: QWT Curve symbol show/hide

    There is only one QwtSymbol for each curve - so no: it is not in-efficient to delete/create a new one.
    What takes time is to replot the plot, when changing curve parameters. But this is something you can't avoid.

    HTH,
    Uwe

Similar Threads

  1. Replies: 0
    Last Post: 30th November 2015, 16:48
  2. Replies: 2
    Last Post: 23rd June 2012, 18:12
  3. Replies: 5
    Last Post: 7th February 2011, 08:38
  4. Replies: 3
    Last Post: 26th March 2010, 21:25
  5. how to show an app if it manually hide
    By jthacker in forum Qt Programming
    Replies: 1
    Last Post: 26th March 2010, 13:02

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.