Results 1 to 4 of 4

Thread: Is it possible to put footer in the same line of legend?

Threaded View

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

    Default Re: Is it possible to put footer in the same line of legend?

    Unfortunately I don't see an easy solution out of the box.


    • You could manually add a QLabel with your footer text and align it manually according to resize events of the legend. When using QwtPlotRenderer you have to add some code for your footer too.
    • Another option might be to overload QwtPlotLayout::activate() and manipulate the rects for footer and legend.
    • You could also derive from QwtLegend and try to add your footer there


    Uwe

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

    freshairfly (22nd January 2014)

Similar Threads

  1. Replies: 2
    Last Post: 14th March 2012, 09:27
  2. QTableView with summary footer
    By skuda in forum Qt Programming
    Replies: 8
    Last Post: 12th September 2011, 09:19
  3. Printing header and footer with different data
    By sepeth in forum Qt Programming
    Replies: 1
    Last Post: 19th February 2009, 21:51
  4. How to add a footer (QHeaderView) to a QTreeView?
    By DigiDrag in forum Qt Programming
    Replies: 1
    Last Post: 24th September 2008, 00:38
  5. Header and Footer
    By vermarajeev in forum Qt Programming
    Replies: 11
    Last Post: 8th December 2006, 13:10

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.