code: def clear(self):
          
          layout = self._entryWidget.layout()
          for i in range(layout.count() - 1):
              widget = layout.itemAt(i).widget()
              widget.close()
docs: Clears out the widgets for this query builder.