Hi marcel,
I implemented in this way....
but in return i did'nt get any positive result....
still having the same problem...
can u help me out with this problem...
thanks in advance...
int str43;
if (lineEdit1->text()==NULL)
{
QMessageBox::critical(this,
"",
"Please Input Value in the text Box Provided..");
}
else
{
QMessageBox::information(this,
"",
"Value Changed Successfully...");
str63= lineEdit1->text().toInt();
((ctxtmenu*)parent())->str43 = str63;
this->close();
}
ctxtmenu dialog1(this);
lineEdit1->text()= dialog1.lineEdit23->text().toInt();
int str43;
if (lineEdit1->text()==NULL)
{
QMessageBox::critical(this,"","Please Input Value in the text Box Provided..");
}
else
{
QMessageBox::information(this,"","Value Changed Successfully...");
str63= lineEdit1->text().toInt();
((ctxtmenu*)parent())->str43 = str63;
this->close();
}
ctxtmenu dialog1(this);
lineEdit1->text()= dialog1.lineEdit23->text().toInt();
To copy to clipboard, switch view to plain text mode
Here str43 is the public int variable which is present in the "ctextmenu.h" file...
and at the same time str63 is also an int variable which is present in the local loop which i mentioned above...
Bookmarks