How to get text of last line from QTextEdit, and how to set cursor at the end of line or text? Actually I want to blink the cursor at the end of text when textedit get focus through code.