Results 1 to 2 of 2

Thread: Using QwtLegend to change curve attributes

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 2 Times in 2 Posts

    Default Using QwtLegend to change curve attributes

    Hi all,

    I've followed the example that shows how to switch on/off plots, by using the LegendItems and making the Items checkable.

    I was wondering if you could set the same LegendItems to clickable and then change the curve attributes (i.e. width, color, style, etc)

    At the moment I can select the appropriate Item, but don't know how to translate this grabbing the correct QwtPlotCurve pointer, as I have more than one QwtPlotCurve pointers allocated.

    Any help would be appreciated.

    Robbie
    Last edited by cnbp173; 23rd May 2008 at 01:19.

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.