QTextEdit save data in
General and Desktop
2
Posts
2
Posters
1.0k
Views
1
Watching
-
Hello, Qt guys!
If I have first window with 1 QTextEdit and I want to save 2QLineEdit from second window if I clicked button "Salveaza" in QTextEdit how can'I do?
@void InsertData::on_salveaza_clicked()
{
QString strDate = ("Nume: %1 - Prenume: %2")
.arg(ui->nume->text())
.arg(ui->prenume->text());QObject *act = new QMainWindow(); //act-> act->textEdit->setText(strDate);}
@