PDA

View Full Version : How to add/delete widgets based off of selection.



seerofsorrow
2nd September 2017, 01:42
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.

ChrisW67
3rd September 2017, 10:04
Take a look at the Extension Example (https://doc.qt.io/qt-5/qtwidgets-dialogs-extension-example.html)