From: mkr Date: Fri, 21 Mar 2008 11:04:02 +0000 (+0000) Subject: Qt4 porting. X-Git-Tag: VSR_280308~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d89e6d67446bd267aeb209e007da1a338db3f4e8;p=modules%2Fsmesh.git Qt4 porting. --- diff --git a/src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx b/src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx index c87c2acc4..ba2eac2a0 100644 --- a/src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx @@ -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); diff --git a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx index 27a885dd8..80d574dde 100755 --- a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx @@ -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";