Good evening everybody...
My Question as simple as in the title !!
I try to write in line edit witch is in the main window,while my button exist on another window (dialog window).
When I try to make that, I put in the event handler the dialog button:
while :lineEdit_1 is in the main window and :lineEdit_2 is in the dialoge.Qt Code:
MainWindow::ui->lineEdit_1->text() = :ui->lineEdit_2->text() ;To copy to clipboard, switch view to plain text mode
but the honorable compiler tell me that :
1) Object missing in reference to 'MainWindow::ui' .............in mainwindow.h
2)from this location .............in dialog.cpp
I have search about this, but I didn't understand the meant.Let alone most of what I found was about multi threading not about forms.
Thank you.
Bookmarks