Instead of creating a QDialogButtonBox, use the buttons provided by KFileWidget directly and set it up exactly like plasma-integration does. This way it looks exactly like file dialogs in other applications.