docs: def clear(self):
          """
          Clears all the container for this query widget.
          """
          for i in range(self.count()):
              widget = self.widget(i)
              if widget is not None:
                  widget.close()
                  widget.setParent(None)
                  widget.deleteLater()