Qtjambi4.4.0 以textEdit的光标为例
ui.textEdit.textCursor().movePosition(MoveOperation.End); // 移动到最后
MoveOperation 常用值:
MoveOperation Down - Move down one line.
MoveOperation End - Move to the end of the document.
MoveOperation EndOfBlock - Move to the end of the current block.
MoveOperation EndOfLine - Move to the end of the current line.
MoveOperation EndOfWord - Move to the end of the current word.
MoveOperation Left - Move left one character.
MoveOperation NextBlock - Move to the beginning of the next block.
MoveOperation NextCharacter - Move to the next character.
MoveOperation NextWord - Move to the next word.
MoveOperation NoMove - Keep the cursor where it is
...