I would like to use my own string on the button, in the the below mentioned functions "msgBox.setDefaultButton" and "msgBox.addButton" :
msgBox.setDefaultButton(QMessageBox::Save);
msgBox.addButton(QMessageBox::Abort);
instead of "Save" and "Abort", which are inbuilt, i would like to put my own text.
please let me know if its possible or please give me an alternative for above lines to create a button with my own random text.
ex :
msgBox.setDefaultButton(QMessageBox::"Lakshmi");
msgBox.addButton(QMessageBox::"Kanth");
TIA.
Regards, Lakshmikanth .G