标题:请教QT输入问题
作者:anye529
日期:2006-09-26 14:04
内容:
请问怎样将在一个QLineEdit框中输入的字符串赋值给一个QString对象?
#1 [浪漫天使 09-26 16:11]
QString QLineEdit::text () const
Returns the line edit's text. See the "text" property for details.
这个不行吗?
#2 [anye529 09-26 16:40]
我这样写:buffer1=lineEdit3->text();并没有将lineEdit3中写入的字符串赋值给buffer1啊