Python Forum

Full Version: clear all widgets at same time (not delete/remove)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there an easy way to clear all my pyqt5 widgets at the same time. Reset them back to default at form load via code?

Comboboxes, checkboxes, lineEdits, etc?

Or do I just need to individually run the widget.clear() command ?