Results 1 to 4 of 4

Thread: Set Title for QWTLegend...

  1. #1
    Join Date
    Jul 2009
    Posts
    49
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Set Title for QWTLegend...

    Hai
    I am using qwtplot in my program. I want to set the title for legends [LEGEND TITLE] in qwtplot.
    Is it possible to set with QwtPlotMarker or anything else...



    I have attached a file like that I want the output .


    pl suggest me...


    by
    Sura
    Bangalore
    Attached Images Attached Images
    • File Type: jpg 1.jpg (33.2 KB, 43 views)

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

    Default Re: Set Title for QWTLegend...

    Use QwtPlot::ExternalLegend and implement your own layout with a QLabel on top.

    Uwe

  3. #3
    Join Date
    Jul 2009
    Posts
    49
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Set Title for QWTLegend...

    Hai Uwe Thanks for ur reply.

    now i kept QwtTextLabel and display some text in the top of the legend frame.
    but, if am going to print that QwtTextLabel not coming .

    is there any other way

  4. #4
    Join Date
    Jul 2009
    Posts
    49
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Set Title for QWTLegend...

    Hai Uwe Thanks for ur reply.

    now i kept QwtTextLabel and display some text in the top of the legend frame.
    but, if am going to print that QwtTextLabel not coming .

    is there any other way to print QwtTextLabel along with QwtPlot?

Similar Threads

  1. QwtLegend Position changing problem?
    By umituzun84 in forum Qwt
    Replies: 1
    Last Post: 19th March 2010, 13:25
  2. Replies: 1
    Last Post: 23rd May 2008, 08:24
  3. Replies: 1
    Last Post: 9th February 2008, 12:46
  4. widget without title bar???
    By db in forum Newbie
    Replies: 3
    Last Post: 30th August 2007, 21:16
  5. window title bar
    By moowy in forum Qt Programming
    Replies: 4
    Last Post: 21st September 2006, 16:56

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.