Answer the question
In order to leave comments, you need to log in
How to use QDialogButtonBox?
I did not find a sane example on the Internet.
Here's what I did, but I have an ok button on the parent widget at all, and no dialogs:
dialog = QtWidgets.QDialogButtonBox(self)
dialog.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Ok)
dialog.show()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question