QLineEdit 设置灰色提示语


 ui->lineEdit->setPlaceholderText("账号/昵称");

相关