Qt4 porting.

This commit is contained in:
mkr 2008-03-21 11:04:02 +00:00
parent 7b613d2b8b
commit d89e6d6744
2 changed files with 8 additions and 8 deletions

View File

@ -56,7 +56,7 @@ SMESHGUI_ConvToQuadDlg::SMESHGUI_ConvToQuadDlg()
//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);

View File

@ -251,12 +251,12 @@ QWidget* SMESHGUI_MultiEditDlg::createMainFrame (QWidget* theParent, const bool
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);
@ -1158,7 +1158,7 @@ SMESHGUI_UnionOfTrianglesDlg
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";