Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTextEdit save data in

QTextEdit save data in

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mhcrnl
    wrote on last edited by
    #1

    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);
    

    }
    @

    Salutare !!!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hisoft
      wrote on last edited by
      #2

      Hi,
      Can you better explain what you want to do ?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved