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