hello, I tried to use my custom text for the QInputDialog okButton/cancelButton text ,
and I used in this way:
however, the ok/cancel button text not changed.Code:QInputDialog dialog; dialog.setTextValue("my own text"); dialog.setLabelText("my label text "); dialog.setOkButtonText("My OK"); dialog.setCancelButtonText("My Cancel"); dialog.setWindowModality(Qt::WindowModal); int result = dialog.exec();
So what I missed, or I used in wrong way.



