title: Is there a way to call a function everytime a letter is entered in a QInputDialog() in PyQt5?
body: <p>So I'm making a really <strong>simple notepad GUI</strong> using <code>PyQt5</code>, and I have this <code>Find</code> feature, which will search the occurrence of the keyword inside the <code>QTextEdit()</code> entry. I want my app to update the highlighted text everytime a new character is entered. Is this possible in PyQt5?</p>
  <p>Here's how my functions look</p>
  <pre><code> def find(self):
      self.find_text = QInputDialog()
      self.find_text.getText(self, &quot;Search Text&quot;, &quot;Find:&quot;)
      self.find_text.textValueChanged.connect(self.select)
  
  
  def select(self):
      print('sd')
      print(self.find_text.textValue())
  </code></pre>