标题:【提问】QLineEdit的问题请教
作者:sopq
日期:2005-12-21 09:28
内容:
QLineEdit类里面的
void QLineEdit::cursorForward ( bool mark, int steps = 1 )
void cursorBackward ( bool mark, int steps = 1 )
void cursorWordForward ( bool mark )
void cursorWordBackward ( bool mark )
是用来做什么的?
#1 [sopq 12-21 11:15]
没有了解的吗?
#2 [myer 12-21 15:07]
Moves the cursor forward steps characters. If mark is true each character moved over is added to the selection; if mark is false the selection is cleared.
so clear...
see the doc first plz.
#3 [sopq 12-21 15:10]
我也看到这段英文了,但我觉得我理解好像不太对,才拿到这来问的
#4 [myer 12-21 17:22]
光标指针向前移动steps个字符,如果mark为真,这些字符被选中,否则选择区域被清空。
#5 [sopq 12-22 09:40]
哎,我也是这么翻译的,看来不是我需要的东西了,
我想找个功能是:两个控件之间用上下左右键切换,有这个功能吗?