Results 1 to 3 of 3

Thread: Using QwtlegendData to Display a new column in the legend

Threaded View

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

    Default Re: Using QwtlegendData to Display a new column in the legend

    Well, in general you can overload QwtAbstractLegend::updateLegend() to do whatever you want with these additional attributes. You could even implement your own style of legend, like it is done in the stockchart example.
    But why not setting up a signal/slot connection between picker and legend - sounds more logical to me than passing those attributes as legend data ?

    Uwe

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

    TEAmerc (25th November 2015)

Similar Threads

  1. Replies: 1
    Last Post: 20th November 2015, 10:12
  2. Replies: 3
    Last Post: 17th December 2014, 10:55
  3. detecting the width of column needed to display data
    By mentalmushroom in forum Qt Programming
    Replies: 0
    Last Post: 17th March 2011, 16:43
  4. Changing QTableView column display order
    By scarleton in forum Qt Programming
    Replies: 3
    Last Post: 18th October 2010, 01:04
  5. Display value in tableWidget row/column
    By sosanjay in forum Qt Programming
    Replies: 4
    Last Post: 3rd October 2009, 09: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
  •  
Qt is a trademark of The Qt Company.