docstr: Query operation done each time user changes the text.
  
  Args:
      text: text to search for.
docstr_tok: ["Query","operation","done","each","time","user","changes","the","text",".","Args",":","text",":","text","to","search","for","."]
code: def query(self, text):
      """
      Query operation done each time user changes the text.
  
      Args:
          text: text to search for.
      """
      # get current dataframe data
      current_pgdf = self.parent().store.selected_pgdf
      current_dataView = current_pgdf.dataframe_viewer.dataView
      current_model = current_dataView.model()
      df = current_pgdf.df
  
      # clear matches and selection from last search results
      if self.findThread:
          self.findThread.stop()
      self.search_matches = []
      current_dataView.selectionModel().clear()
      self.matches_found_label.setText("Matches Found: 0")
      self.search_selection = None
  
      if not text:
          return
  
      # Initialize findThread
      self.findThread = FindThread(df, text, self.match_flags)
      self.findThread.matches.connect(self.update_matches)
      self.findThread.start()
  
imports: import re
  import time
  import pkg_resources
  from PyQt5 import QtCore, QtGui, QtWidgets
  from PyQt5.QtCore import Qt
label_desc: Use image node_id 2 for calling the FindToolbar obj's underlying member method code with example usage: obj.query(text) without return types