Python Forum
clear all widgets at same time (not delete/remove) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: clear all widgets at same time (not delete/remove) (/thread-14797.html)



clear all widgets at same time (not delete/remove) - shift838 - Dec-17-2018

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 ?