C++ (Qt)QList<QList<QRadioButton> > itemButtons;QList<QButtonGroup> group;QList<QVBoxLayout> buttonLayout; int size=buttonLayout.count();buttonLayout.insert(size+1, new QVBoxLayout(frames.at(i))); QList<QRadioButton> list1;list1.append(new QRadioButton(pri[i].name, frames.at(i),"dfgdf"));itemButtons.insert(1,&list1);buttonLayout.at(size+1)->addWidget(list1.at(1));
C++ (Qt)QList<QList<QRadioButton> > itemButtons;QList<QButtonGroup> group;QList<QVBoxLayout> buttonLayout; int size=buttonLayout.count();buttonLayout.insert(size, new QVBoxLayout(frames.at(i))); QList<QRadioButton> list1;list1.append(new QRadioButton(pri[i].name, frames.at(i),"dfgdf"));itemButtons.insert(1,&list1);buttonLayout.at(size)->addWidget(list1.at(1));
C++ (Qt)QList<QList<QRadioButton> > itemButtons;QList<QButtonGroup> group;QList<QVBoxLayout> buttonLayout; int size=buttonLayout.count();buttonLayout.insert(size+1, new QVBoxLayout(frames.at(i))); QList<QRadioButton> list1;list1.append(new QRadioButton(pri[i].name, frames.at(i),"dfgdf"));itemButtons.insert(1,&list1);buttonLayout.at(size+1)->addWidget(list1.at(0));
C++ (Qt)QList<QList<QRadioButton> > itemButtons;QList<QButtonGroup> group;QList<QVBoxLayout> buttonLayout; int size=buttonLayout.count();buttonLayout.insert(size, new QVBoxLayout(frames.at(i))); QList<QRadioButton> list1;list1.append(new QRadioButton(pri[i].name, frames.at(i),"dfgdf"));itemButtons.insert(0,&list1); // ????buttonLayout.at(size)->addWidget(list1.at(0));