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.
This commit is contained in:
mkr 2008-03-17 15:25:11 +00:00
parent dcab6c3d1f
commit 2e540667d8
2 changed files with 1 additions and 2 deletions

View File

@ -182,7 +182,7 @@ SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg (SMESHGUI* theModule)
GroupArgumentsLayout->addWidget(TextLabelElements, 0, 0); GroupArgumentsLayout->addWidget(TextLabelElements, 0, 0);
GroupArgumentsLayout->addWidget(SelectElementsButton, 0, 1); GroupArgumentsLayout->addWidget(SelectElementsButton, 0, 1);
GroupArgumentsLayout->addWidget(LineEditElements, 0, 2, 1, 6); 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(TextLabelVector, 2, 0);
GroupArgumentsLayout->addWidget(TextLabelDx, 2, 2); GroupArgumentsLayout->addWidget(TextLabelDx, 2, 2);
GroupArgumentsLayout->addWidget(SpinBox_Dx, 2, 3); GroupArgumentsLayout->addWidget(SpinBox_Dx, 2, 3);

View File

@ -115,5 +115,4 @@ void SMESHGUI_SpinBox::RangeStepAndValidator( double min,
// see QtxDoubleSpinBox::mapValueToText( double v ) // see QtxDoubleSpinBox::mapValueToText( double v )
setRange( min, max ); setRange( min, max );
setSingleStep( step ); setSingleStep( step );
validator()->setRange( min, max, decimals );
} }