Results 1 to 9 of 9

Thread: QTreeView: auto-resize

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2011
    Posts
    55
    Thanks
    12
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default QTreeView: auto-resize

    I have a QFrame containing multiple QTreeViews, layed in vertical order. I'd like to set up things so that when, for example, QTreeView2 is expanded, the QTreeViews below it would move further away so that they do not overlap.
    Maybe this image will explain better what I need to do:

    qtrees.jpg

    Probably using a QGridLayout and putting each QTreeView into each grid cell? Thanks
    Last edited by papillon; 18th October 2011 at 11:20.

Similar Threads

  1. auto-resize trouble
    By zgulser in forum Qt Tools
    Replies: 9
    Last Post: 28th December 2008, 21:03
  2. Auto resize QLabel
    By munna in forum Newbie
    Replies: 12
    Last Post: 6th August 2008, 13:39
  3. QTextEdit auto resize
    By bunjee in forum Qt Programming
    Replies: 4
    Last Post: 26th October 2007, 19:59
  4. auto resize custom widget
    By CopyrightPhilly in forum Newbie
    Replies: 1
    Last Post: 5th October 2007, 09:40
  5. How to get a QDockWidget to auto resize?
    By bitChanger in forum Qt Programming
    Replies: 4
    Last Post: 6th January 2006, 16: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.