title: Issue with QTextEdit cursor, when using eventFilters
body: <p>I am facing an issue with QTextEdit. i am using eventFilters for QTextEdit.
  When i press keys in the numpad (0-9) in the QTextEdit it will auto compleate the sentense 
  which is connected that number. For example</p>
  
  <p><img src="https://i.stack.imgur.com/3645J.jpg" alt="enter image description here"></p>
  
  <p>Everything is working fine but when i type a sentence and press the number 3 in numpad the text related to it is filled in QTextEdit but the  cursor is moved to home. actually it is supposed to be the place where the sentence end.</p>
  
  <p><img src="https://i.stack.imgur.com/qvXHI.jpg" alt="enter image description here"></p>
  
  <p>Can anyone guide me how to deal with this.</p>
  
  <p>Thanks and Regards,<br/>
  Sudeepth Patinjarayil.</p>