How to modify QDialogButtonBox
Solved
General and Desktop
-
Hi Qt pros.
I am looking for a way to modify a QDialogButtonBox:
I have a default QDialogButtonBox with "Apply" and "Cancel".
- Can I swap positions - that Apply is on the right side?
- Can I disable Apply to be the default if someone hits return?
Regards Alex
-
No and no. The order depends on the OS.
You have to write your own widget.