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