pyqt delete form controls

import sip

sip.delete (control name)

NOTE: Deleting QLable failed to switch to delete the entire groupbox current form

Guess you like

Origin www.cnblogs.com/stupidrun/p/12075867.html