Python Forum
clear all widgets at same time (not delete/remove)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
clear all widgets at same time (not delete/remove)
#1
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 ?
SHIFT838
http://shift838.99er.net

Telnet BBS:
fusionbbs.ddns.net:9640
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] remove widgets of a layout catlessness 2 1,748 Apr-02-2020, 07:25 PM
Last Post: catlessness

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020