title: Autoscroll PyQT QTextWidget
body: <p>How can I <strong>autoscroll</strong> to the bottom of my <code>QTextEdit</code></p>
  
  <p>in my GUI init function</p>
  
  <pre><code>self.mytext = QTextEdit()
  self.cursor = QTextCursor(self.mytext.document())
  self.mytext.setTextCursor(self.cursor)
  </code></pre>
  
  <p>and how I am adding to it in another function</p>
  
  <pre><code>self.cursor.insertText(str(self.user) + ": " + str(self.line.text()) + "\n")
  </code></pre>