qt set line edit text code example Example: qt set line edit text ui->lineEditName->setText("your new texte");