python - Connecting a slot to a button in QDialogButtonBox ...
2013-7-6 · I don't know python, but how you could do this in C++ is something like this: QPushButton *resetButton = ui->buttonBox->button (QDialogButtonBox::Reset); connect (resetButton, signal (clicked ()), this, SLOT (myResetFunc ())); This of course requires that you set the role for your reset button to QDialogButtonBox::Reset.
Get Price