我想使用QLineEdit进行输入。我的问题是我不知道如何读取它的内容。 假设我有: QLineEdit *edit = new QLineEdit(""); 在将其添加到GUI后,如何获取内容?提前感谢。