- Use QDialogButtonBox to get correct layout for buttons