Well,for the Lineedit I do: set.setValue("text1", ui->le1->text()); then ui->le1->setText(set.value("text1").toString());
While the Tablewidget doesn't have those functions( text(),setText() )..