Can I use QString::number() in QMessageBox. If so can you explain with the above shown QMessageBox Question string.
Thanks & Regards,
Arun.
Can I use QString::number() in QMessageBox. If so can you explain with the above shown QMessageBox Question string.
Thanks & Regards,
Arun.
arunvv (1st May 2008)
Thanks for you reply. You are right, if you would have shown a piece of code, I would have just copied and make it work. Now I studied on this actually works,
I got cleared and came to know how it works.
I changed the QMessageBox to
...
...
row = tableWidget_wmhData->currentRow();
if(QMessageBox::question(tableWidget_wmhData, "Remote ID ",
"See detailed view for ID- " + QString::number(row),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::Yes) == QMessageBox::Yes)
I will remember this usage of QString Number in QMessageBox forever.
Thanks & Regards,
Arun.
Bookmarks