An error message prompt appears when function, processInputData(param1, param2, ....) is called.
The application exits when 'Don't Send' button on the message prompt is clicked on.
How do I resolve this issue?
Here is the code:
{
okButton = createButton(tr("&OK"), SLOT(messageOk()));
createCMRFilesMessageGroupBox();
createEDMessageGroupBox();
createESMessageGroupBox();
createmainLayout();
setWindowTitle(tr("New Case"));
resize(450, 100);
}
void New::messageOk()
{
processInputData(endocardialfileName.toAscii(), //convert 'QString' to 'const char*'
epicardialfileName.toAscii(), //convert 'QString' to 'const char*'
1,
1.1,
1.1,
1,
1.1,
1.1);
}
New::New(QWidget *parent) :
QDialog(parent)
{
okButton = createButton(tr("&OK"), SLOT(messageOk()));
createCMRFilesMessageGroupBox();
createEDMessageGroupBox();
createESMessageGroupBox();
createmainLayout();
setWindowTitle(tr("New Case"));
resize(450, 100);
}
void New::messageOk()
{
QMessageBox::about(this,tr("OK clicked"),tr("OK"));
processInputData(endocardialfileName.toAscii(), //convert 'QString' to 'const char*'
epicardialfileName.toAscii(), //convert 'QString' to 'const char*'
1,
1.1,
1.1,
1,
1.1,
1.1);
}
To copy to clipboard, switch view to plain text mode
Definition of processInputData( ):
processInputData(const char*, const char* ,
const int,
const float, const float,
const int,
const float, const float );
processInputData(const char*, const char* ,
const int,
const float, const float,
const int,
const float, const float );
To copy to clipboard, switch view to plain text mode
Bookmarks