Hi all,

I started my C++ Gui Application and used the form to put a few components. I have two groups of QRadioButtons, but I couldn't find the way to create the groups graphically (perhaps not possible ?, I didn't find the QButtonGroup on the qt creator... ).

So I tried to use the constructor for that:


onOff= new QButtonGroup;
onOff->addButton(ui->on);
onOff->addButton(ui->off);

metric= new QButtonGroup;
metric->addButton(ui->m_24);
metric->addButton(ui->m_34);
metric->addButton(ui->m_44);
metric->addButton(ui->m_68);


But doesn't work either. How can I manage the radio groups ?

thanks