//Create RadioButtons
myBGBox = new QGroupBox( mainFrame() );
myBG = new QButtonGroup( mainFrame() );
- QHBoxLayout* aBGLayout = new QHBoxLayout( myBGBox );
+ QVBoxLayout* aBGLayout = new QVBoxLayout( myBGBox );
aBGLayout->setMargin(MARGIN);
aBGLayout->setSpacing(SPACING);
myGroup->setReadOnly(true);
myGroupBtn->setIcon(aPix);
- aGrpLayout->addWidget(mySubmeshChk);
- aGrpLayout->addWidget(mySubmeshBtn);
- aGrpLayout->addWidget(mySubmesh);
- aGrpLayout->addWidget(myGroupChk);
- aGrpLayout->addWidget(myGroupBtn);
- aGrpLayout->addWidget(myGroup);
+ aGrpLayout->addWidget(mySubmeshChk,0,0);
+ aGrpLayout->addWidget(mySubmeshBtn,0,1);
+ aGrpLayout->addWidget(mySubmesh,0,2);
+ aGrpLayout->addWidget(myGroupChk,1,0);
+ aGrpLayout->addWidget(myGroupBtn,1,1);
+ aGrpLayout->addWidget(myGroup,1,2);
aMainGrpLayout->addWidget(mySelGrp);
aMainGrpLayout->addWidget(myCriterionGrp);
aMaxAngleGrpLayout->addWidget(aLab);
aMaxAngleGrpLayout->addWidget(myMaxAngleSpin);
- ((QVBoxLayout*)aMaxAngleGrpLayout->layout())->addWidget(aMaxAngleGrp);
+ ((QVBoxLayout*)(myCriterionGrp->layout()))->addWidget(aMaxAngleGrp);
myCriterionGrp->show();
myHelpFileName = "uniting_set_of_triangles_page.html";