Qt取出输入框字符串,lineEdit

您好使用text方法

Qstring str = obj->text();

猜你喜欢

转载自blog.csdn.net/qq_46530073/article/details/125951849