i want when push the 'clear all choises' button , all checkboxs and radiobuttons are be unchecked.
CodePudding user response:
void MainWindow::on_pushButton_clicked()
{
ui->checkBox->setChecked(false);
ui->radioButton->setChecked(false);
// Add all other check boxes and radio buttons you have...
}