Results 1 to 2 of 2

Thread: hide/show controls in a layout dynamically and resize the form

  1. #1
    Join Date
    Feb 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default hide/show controls in a layout dynamically and resize the form

    I have some controls placed in a layout and I want to show/hide the controls dynamically. After hiding the controls I want to *remove* the space. After hiding/showing the controls the container should resize correspondingly.

    I tried and googled. anyone could give me an idea how to implement? Thanks in advance!

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

    Default Re: hide/show controls in a layout dynamically and resize the form

    Open Qt Assistant and search for the Extension Example

Similar Threads

  1. hide controls when show splash???
    By chandantheracer in forum Newbie
    Replies: 2
    Last Post: 16th May 2011, 10:05
  2. How to hide from taskbar a form showed form mainwindow
    By tonnot in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2011, 15:36
  3. Replies: 0
    Last Post: 26th October 2010, 18:59
  4. Hide and Show problem in master layout
    By QPlace in forum Qt Programming
    Replies: 2
    Last Post: 3rd July 2009, 17:04
  5. Show or hide a form
    By Gayathri in forum Newbie
    Replies: 11
    Last Post: 17th November 2006, 13:39

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.