radioButton互斥

引入QGroupBoxui

groupBoxRad = new QButtonGroup(this);
groupBoxRad->addButton(ui->radioButton);
groupBoxRad->addButton(ui->radioButton_2);
groupBoxRad->addButton(ui->radioButton_3);
groupBoxRad->addButton(ui->radioButton_4);
groupBoxRad->addButton(ui->radioButton_5);this

相關文章
相關標籤/搜索