]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Qt4 porting.
authormkr <mkr@opencascade.com>
Fri, 21 Mar 2008 11:04:02 +0000 (11:04 +0000)
committermkr <mkr@opencascade.com>
Fri, 21 Mar 2008 11:04:02 +0000 (11:04 +0000)
src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx

index c87c2acc494e8096d7bd06831cf08ba4c1ab62db..ba2eac2a0535579270749ca8579753e31aec612d 100644 (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);
   
index 27a885dd848fc52c89be7e3f07f933d0623683c0..80d574dde2d954b1c8246cae91a1846f8e34d953 100755 (executable)
@@ -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";