How pass the data from dialog box to mainwindow
-
Hi Everybody
how used and compare two string. This is my code.void MainWindow::start_cummunication()
{
if (!strcmp(”!PKS”,start_cumm) !=0);else
ui->textEdit->setText(“Error : Communication NotEstabilished”);
}
-
Hi,
Please open a new thread when you have a new question.
Since you are using Qt, you should have a look at QString
-
Hi
I am not using button, my text display direct on line Edit.
This is my code.
void MainWindow::start_cummunication(){
if (!strcmp(”!PKS”,start_cumm) !=0);
else
ui->textEdit->setText(“Error : Communication NotEstabilished”);}
-
What button ?
I just suggested to use QString for your string comparison