Results 1 to 3 of 3

Thread: Window with Expanding/Collapsing Table

  1. #1
    Join Date
    May 2011
    Posts
    14
    Thanks
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question Window with Expanding/Collapsing Table

    Good Day Everyone,

    I'm probably going to get the terminology wrong, but hopefully my explanation will make sense.

    I currently have a window that has a set of buttons on the left side and a table on the right side. Crrently I need to find a way to hide the table when the user does not need/want it. My first thought was to create a seperate window to display the table in, but it was requested to not have it display as a second window. Is there a way to do an expanding/collapsing window within a window? That way if I click on a button on the left to display the table it seems to fold out to display the data, and then have a button to fold it back up when not in use?

    Hopefully that makes sense.

    I appreciate any advance that can be given.

    Sarol

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Window with Expanding/Collapsing Table


  3. The following user says thank you to ChrisW67 for this useful post:

    Sarol (13th December 2011)

  4. #3
    Join Date
    May 2011
    Posts
    14
    Thanks
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Window with Expanding/Collapsing Table

    Thank you very much Chris, that gives me a good place to start.

Similar Threads

  1. Replies: 1
    Last Post: 8th June 2011, 15:13
  2. How to expanding the layout?
    By Kode.Cooper in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2010, 15:24
  3. How to create collapsing type contact list
    By The Storm in forum Qt Programming
    Replies: 38
    Last Post: 10th October 2009, 14:34
  4. QTreeWidgetItem - widget with layout collapsing
    By enkidu in forum Qt Programming
    Replies: 4
    Last Post: 9th August 2009, 23:50
  5. Expanding QLabel
    By mullwaden in forum Qt Programming
    Replies: 1
    Last Post: 15th November 2008, 09: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.