I have QDialogButtonBox with "Reset" "OK" and "Close"
To OK and Close I use:
QObject::connect(ui.
buttonBox,
SIGNAL(accepted
()),
this,
SLOT(button_ok
()));
QObject::connect(ui.
buttonBox,
SIGNAL(rejected
()),
this,
SLOT(button_close
()));
QObject::connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(button_ok()));
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 ...
Bookmarks