Unsolved how to change "OK" to my custom text on QDialogButtonBox?
-
m_pButtonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
how to change "OK" to my custom text on QDialogButtonBox?
-
Hi
You can use
https://doc.qt.io/qt-5/qmessagebox.html#addButton
to add custom buttons.