From: mkr Date: Mon, 17 Mar 2008 15:25:11 +0000 (+0000) Subject: Qt4 porting: X-Git-Tag: VSR_280308~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e540667d898905b64fd791a81a37cd6e34bc85f;p=modules%2Fsmesh.git Qt4 porting: 1) SIGSEGV on activating Move Node, Mesh to pass through a point, Union of triangles, Smoothing, Extrusion, Extrusion along a path, Revolution dialogs. 2) correct layout in the Extrusion dialog. --- diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx index 56ccf92d8..e1fe9721e 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx @@ -182,7 +182,7 @@ SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg (SMESHGUI* theModule) GroupArgumentsLayout->addWidget(TextLabelElements, 0, 0); GroupArgumentsLayout->addWidget(SelectElementsButton, 0, 1); GroupArgumentsLayout->addWidget(LineEditElements, 0, 2, 1, 6); - GroupArgumentsLayout->addWidget(CheckBoxMesh, 0, 0, 1, 8); + GroupArgumentsLayout->addWidget(CheckBoxMesh, 1, 0, 1, 8); GroupArgumentsLayout->addWidget(TextLabelVector, 2, 0); GroupArgumentsLayout->addWidget(TextLabelDx, 2, 2); GroupArgumentsLayout->addWidget(SpinBox_Dx, 2, 3); diff --git a/src/SMESHGUI/SMESHGUI_SpinBox.cxx b/src/SMESHGUI/SMESHGUI_SpinBox.cxx index ae80c505a..d405feb99 100644 --- a/src/SMESHGUI/SMESHGUI_SpinBox.cxx +++ b/src/SMESHGUI/SMESHGUI_SpinBox.cxx @@ -115,5 +115,4 @@ void SMESHGUI_SpinBox::RangeStepAndValidator( double min, // see QtxDoubleSpinBox::mapValueToText( double v ) setRange( min, max ); setSingleStep( step ); - validator()->setRange( min, max, decimals ); }