Results 1 to 3 of 3

Thread: Widgets: Let the user change the size

  1. #1
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    1

    Question Widgets: Let the user change the size

    Hi,

    if I have two widgets next to each other (in a Grid Layout), a ListView and a TreeView. Is it possible to have some kind of slider in between them to allow the user to determine, how much space the ListView and how much the TreeView get?
    Of course this is just an example... I'm looking for a container widget that allows the user to specify the size of the contained widgets...

    An example would be Thunderbird, where you can change the width of the left sidebar...

    Is there a solution for that?

    Thanks,
    D.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Widgets: Let the user change the size


  3. #3
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    1

    Default Re: Widgets: Let the user change the size

    Hey,
    thanks! That is exactly what I was looking for...

    Thank you very much!

Similar Threads

  1. resizing widgets when user resizes mainwindow
    By Mystical Groovy in forum Qt Programming
    Replies: 13
    Last Post: 21st December 2009, 00:03
  2. Disabling the user to change QCheckBox checkstate
    By ChiliPalmer in forum Qt Programming
    Replies: 1
    Last Post: 26th September 2009, 16:20
  3. how do I discard user changes on widgets
    By donglebob in forum Qt Programming
    Replies: 5
    Last Post: 30th December 2008, 07:50
  4. Replies: 1
    Last Post: 22nd June 2007, 19:46
  5. change font size and button size of QMessageBox
    By nass in forum Qt Programming
    Replies: 6
    Last Post: 13th September 2006, 19:16

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.