I have QDialogButtonBox with "Reset" "OK" and "Close"
To OK and Close I use:
Qt Code:
  1. QObject::connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(button_ok()));
  2. QObject::connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(button_close()));
To copy to clipboard, switch view to plain text mode 

How write code to Reset button ? I don't find any examples for ResetRole ...