mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 21:24:16 +05:00
Fix of IPAL19633 (Qt4 porting. Strange value of Tolerance when use spin box): set step=0.00001 instead of 0.1.
This commit is contained in:
parent
d05cb1cde6
commit
cb9918baac
@ -132,7 +132,7 @@ SMESHGUI_BuildCompoundDlg::SMESHGUI_BuildCompoundDlg( SMESHGUI* theModule )
|
|||||||
TextLabelTol = new QLabel(tr("SMESH_TOLERANCE"), GroupArgs);
|
TextLabelTol = new QLabel(tr("SMESH_TOLERANCE"), GroupArgs);
|
||||||
TextLabelTol->setAlignment(Qt::AlignCenter);
|
TextLabelTol->setAlignment(Qt::AlignCenter);
|
||||||
SpinBoxTol = new SMESHGUI_SpinBox(GroupArgs);
|
SpinBoxTol = new SMESHGUI_SpinBox(GroupArgs);
|
||||||
SpinBoxTol->RangeStepAndValidator(0.0, COORD_MAX, 0.1, 6);
|
SpinBoxTol->RangeStepAndValidator(0.0, COORD_MAX, 0.00001, 6);
|
||||||
|
|
||||||
GroupArgsLayout->addWidget(TextLabelMeshes, 0, 0);
|
GroupArgsLayout->addWidget(TextLabelMeshes, 0, 0);
|
||||||
GroupArgsLayout->addWidget(SelectButton, 0, 1);
|
GroupArgsLayout->addWidget(SelectButton, 0, 1);
|
||||||
|
@ -477,7 +477,7 @@ SMESHGUI_EditMeshDlg::~SMESHGUI_EditMeshDlg()
|
|||||||
void SMESHGUI_EditMeshDlg::Init()
|
void SMESHGUI_EditMeshDlg::Init()
|
||||||
{
|
{
|
||||||
if (myAction == 0) {
|
if (myAction == 0) {
|
||||||
SpinBoxTolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.1, 5);
|
SpinBoxTolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.00001, 5);
|
||||||
SpinBoxTolerance->SetValue(1e-05);
|
SpinBoxTolerance->SetValue(1e-05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -256,7 +256,7 @@ SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule )
|
|||||||
|
|
||||||
SpinBox_NbSteps->setRange(1, 999999);
|
SpinBox_NbSteps->setRange(1, 999999);
|
||||||
|
|
||||||
SpinBox_Tolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.1, 6);
|
SpinBox_Tolerance->RangeStepAndValidator(0.0, COORD_MAX, 0.00001, 6);
|
||||||
|
|
||||||
RadioButton1->setChecked(true);
|
RadioButton1->setChecked(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user