def METHOD_NAME(self):
    while self._layout.count():
        item = self._layout.takeAt(0)
        widget = item.widget()
        if widget:
            widget.setVisible(False)
            widget.deleteLater()
    self._widgets = []