• 9400阅读
  • 2回复

设置qtextEdit光标到最后 [复制链接]

上一主题 下一主题
离线iiiyyyhhhsss
 

只看楼主 倒序阅读 楼主  发表于: 2009-09-06
由于qtextedit在程序启动后就有内容,因此想把光标在启动时设置到qtextedit的最后,找了很久没有找到这个cursor的函数。。。。
离线dbzhang800

只看该作者 1楼 发表于: 2009-09-06
manual 上说:
void QTextEdit::moveCursor ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor )
Moves the cursor by performing the given operation.
离线hanfeng000
只看该作者 2楼 发表于: 2010-03-31
QTextEdit::moveCursor ()   end 和 start
android 创意 开发论坛  www.android-zh.com
快速回复
限100 字节
 
上一个 下一个