Results 1 to 7 of 7

Thread: QGraphicsLayout - same widths and heights for all cells, two items in the same cell

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jan 2009
    Location
    Czech Republic
    Posts
    26
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    4

    Default Re: QGraphicsLayout - same widths and heights for all cells, two items in the same ce

    Well, I do not want the width to be fixed, I want it to stretch.
    This is how normal QGraphicsGridLayout would look like

    And this is how my layout would look like in this case - it would of course change if the view was resized.


    I will look into nesting layouts and see if it could help me, thank you
    Edit: I'm not sure if I got "nested layouts" right but does not that mean that I just put one layout into another's cell? If so, than thats is probably not what I could use here. :/
    Attached Images Attached Images

Similar Threads

  1. Forcing equal row heights in QTableWidget
    By wssddc in forum Newbie
    Replies: 2
    Last Post: 2nd November 2009, 01:16
  2. QGraphicsLayout::geometry()
    By isutruk in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2009, 15:43
  3. Extending QGraphicsLayout
    By Darkman in forum Qt Programming
    Replies: 0
    Last Post: 13th March 2009, 12:09
  4. auto resizing column/row widths
    By raman_31181 in forum Qt Programming
    Replies: 2
    Last Post: 11th September 2008, 18:16
  5. QTableView row heights
    By Brandybuck in forum Qt Programming
    Replies: 8
    Last Post: 7th November 2006, 03:08

Tags for this Thread

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.