Results 1 to 2 of 2

Thread: How to add/delete widgets based off of selection.

  1. #1
    Join Date
    Sep 2017
    Posts
    12
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    5

    Default How to add/delete widgets based off of selection.

    I need help with the following:

    I have a widget that's a check box. If the check box is selected I want to include additional line edits that will appear in the shell inbetween other line edits. But I don't know how to make sure that the space for these widgets is not there if it's not selected. I know this is kind of confusing but I'm unsure where to go from here. I could really really use the help.

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

    Default Re: How to add/delete widgets based off of selection.

    Take a look at the Extension Example

Similar Threads

  1. Replies: 4
    Last Post: 9th December 2015, 17:24
  2. Replies: 10
    Last Post: 21st January 2015, 08:57
  3. Replies: 1
    Last Post: 24th May 2012, 11:52
  4. Replies: 0
    Last Post: 2nd November 2010, 18:54
  5. Replies: 0
    Last Post: 14th October 2010, 18:45

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.