title: Make an active search with QlistWidget
body: <p>I want to hide irrelevant results as I type into my search bar and once the search bar is cleared to show all items again in the listWidget.</p>
  
  <p>I'm honestly not sure how to go about this as I am extremely new to programming (started 3 weeks ago). Currently I'm thinking I can do an if > then statement to hide the items but I don't know how to go about it using the findItems() method.</p>
  
  <pre><code>def searchItem(self):
      search_string = self.textEdit.toPlainText() """pulling the text from a text edit box"""
      items = self.listWidget.findItems(search_string, Qt.MatchContains)
      for item in items:
          if item:
              item.setHidden(False)
          else:
              item.setHidden(True)
  </code></pre>
  
  <p>Currently this basically does nothing. if i add Print(item.text()) it only prints the relevant items making me think I'm on the right track. </p>
  
  <p>Thank you for any suggestions.</p>