Answer the question
In order to leave comments, you need to log in
How to make a button in QT with two values?
Hi all.
Is there any ready-made solution for one solid button with two functions
like
______________________
| yes | no |
_____________________
Or is it possible to determine only by clicking the mouse?
Thanks
Answer the question
In order to leave comments, you need to log in
There seems to be no finished one, but for logic there is doc.qt.io/qt-5/qbuttongroup.html
If for dialogs with a request, that is, in QMessageBox
There you can set standard buttons, while the yes / no translation will be at the OS level.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question