Results 1 to 2 of 2

Thread: Weird QwtLegend Behaviour

  1. #1
    Join Date
    Jun 2011
    Qt products
    MacOS X

    Default Weird QwtLegend Behaviour

    So my QwtPlot is populated with data and plotted when the user imports a file. The data can also be scaled in realtime using some combo boxes. The problem I am having is if the user imports another file then the other plot curves and the corresponding legend items are not being deleted. I am using:


    Which in the case that I am rescaling the curves works perfectly fine, but for some reason when I re-import a file the curves do not get deleted. Any ideas to why this might be happening?

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

    Default Re: Weird QwtLegend Behaviour

    Quote Originally Posted by BettaUseYoNikes View Post
    Any ideas to why this might be happening?
    Should be a problem of the application code: detachItems is o.k..


Similar Threads

  1. weird behaviour with QItemSelectModel
    By Bebert218 in forum Qt Programming
    Replies: 0
    Last Post: 8th July 2011, 03:02
  2. Weird behaviour of QToolButton on a tablet PC with Windows 7
    By ChiliPalmer in forum Qt Programming
    Replies: 0
    Last Post: 9th March 2011, 21:39
  3. QDockWidget on 4.6.X , weird behaviour
    By benacler in forum Qt Programming
    Replies: 0
    Last Post: 8th April 2010, 15:44
  4. Weird behaviour with QMdiSubWindows in a QMdiArea?
    By qt_noob in forum Qt Programming
    Replies: 2
    Last Post: 4th April 2009, 17:48
  5. weird repaint() behaviour
    By georgie in forum General Discussion
    Replies: 1
    Last Post: 1st May 2006, 14:27

Tags for this Thread


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.