Results 1 to 1 of 1

Thread: hiding one legend and its brush in qwt 6.x

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

    Default hiding one legend and its brush in qwt 6.x

    I have a qwtPlotCurve without label. In 5.x, I was able to call following code and hide the corresponding legend
    Qt Code:
    1. setItemAttribute(QwtPlotItem::Legend, false);
    To copy to clipboard, switch view to plain text mode 

    But it is not working in qwt6. it is showing a color box in the legend. I have also tried all the combinations of setLegendAttribute(----) without any success.


    Sorry for the confusion...It seems like some problem in my code. It is solved now
    Last edited by mqt; 20th May 2015 at 12:31.

Similar Threads

  1. Replies: 4
    Last Post: 3rd June 2013, 16:36
  2. something like colordialog, but with brush
    By Noxxik in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2009, 20:22
  3. Painter brush question
    By maverick_pol in forum Qt Programming
    Replies: 5
    Last Post: 22nd October 2008, 07:39
  4. Brush problems in GraphicsView
    By maverick_pol in forum Qt Programming
    Replies: 8
    Last Post: 12th August 2008, 19:25
  5. QPalette::brush
    By tpf80 in forum Newbie
    Replies: 6
    Last Post: 17th July 2007, 23:23

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.