title: How to set text into Label in UI which is loaded by QUiLoader
body: <p>I have following situation:</p>
  
  <p><img src="https://i.stack.imgur.com/Wto4k.png" alt="enter image description here"></p>
  
  <ul>
  <li>Load Ui button is part of central widget layout. </li>
  <li>Central widget have a QWidget on right side of Load Ui button. that widget's main layout
  have two more empty layouts lay1 and lay2 </li>
  <li>On clicking Load Ui a Ui form, having a QLable(Print here)and a QPushButton(Load Line Editor), is loaded to lay1 through dynamic ui loader.</li>
  <li>On clicking Load Line Editor will add QLineEdit to lay2 </li>
  </ul>
  
  <p>Now I want to take text of line edit and print it to QLabel("Print here")</p>
  
  <p>I am clueless how to do that without making any intermediate variable.</p>
  
  <p>Following is part of mainwindow class definition:</p>
  
  <pre><code>MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)
  {
      ui-&gt;setupUi(this);
      lay1 =  new QHBoxLayout;
      lay2 =  new QHBoxLayout;
      laymain = new QVBoxLayout;
      laymain-&gt;addLayout(lay1);
      laymain-&gt;addLayout(lay2);
      ui-&gt;widget-&gt;setLayout(laymain);
      connect(ui-&gt;pushButton,SIGNAL(clicked()),this,SLOT(LoadEdit()));
  }
  
  void MainWindow::LoadEdit()
  {
   if(lay1-&gt;isEmpty())
       {
  
           QUiLoader load;
           QFile file("E:\\WorkFolder\\Qt\\ValueOfFilter\\PrintValue.ui");
               file.open(QIODevice::ReadOnly);
           QWidget * edit = load.load(&amp;file,this);
  
           lay1-&gt;addWidget(edit,Qt::Horizontal);
  
           edit-&gt;addAction(act);
           QPushButton * textbutton = edit-&gt;findChild&lt;QPushButton*&gt;("pushButton");
           connect(textbutton,SIGNAL(clicked()),this,SLOT(LoadEditClicked()));
  
  }
  
  void MainWindow::LoadEditClicked()
  {
     if(lay2-&gt;isEmpty())
     {
          QLineEdit * lineedit = new QLineEdit;
  
          lay2-&gt;addWidget(lineedit);
     }
          //want to take text from lineedit and print it to label
  }
  </code></pre>