Results 1 to 4 of 4

Thread: Layout inside QwtLegend

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jun 2012
    Posts
    33
    Thanks
    6

    Default Re: Layout inside QwtLegend

    Hi, Uwe.

    Sorry, but I don't see this example in qwt.6.0.1, and I don't have access to QwtLegend::setMaxColumns...

    Where I can see this example?


    I did this in this way:
    QwtDynGridLayout *t1 = qobject_cast<QwtDynGridLayout *>(leg->contentsWidget()->layout());
    t1->setMaxCols(1);

    Thanks.

    But I also want to see example that U told about... Can U show me?
    Last edited by carhun; 6th August 2012 at 08:23.

Similar Threads

  1. Resize widget to layout inside it.
    By mrc_pl in forum Newbie
    Replies: 2
    Last Post: 14th January 2012, 21:22
  2. Replies: 0
    Last Post: 22nd July 2011, 12:31
  3. How can I set a layout to a dock inside Qt Designer?
    By ricardo in forum Qt Programming
    Replies: 4
    Last Post: 1st May 2009, 11:17
  4. Resizing a QTreeWidget inside a layout
    By bruccutler in forum Qt Programming
    Replies: 11
    Last Post: 27th March 2007, 16:35
  5. How do I move a widget inside a grid Layout
    By barnabyr in forum Newbie
    Replies: 1
    Last Post: 9th May 2006, 00: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
  •  
Qt is a trademark of The Qt Company.