mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
enable NoteBook variables for "MaxSize"
This commit is contained in:
parent
015abb3cd3
commit
666e100eeb
@ -423,6 +423,7 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
|
|||||||
StdMeshers::StdMeshers_MaxLength::_narrow( hypothesis() );
|
StdMeshers::StdMeshers_MaxLength::_narrow( hypothesis() );
|
||||||
|
|
||||||
h->SetLength( params[0].myValue.toDouble() );
|
h->SetLength( params[0].myValue.toDouble() );
|
||||||
|
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
|
||||||
h->SetUsePreestimatedLength( widget< QCheckBox >( 1 )->isChecked() );
|
h->SetUsePreestimatedLength( widget< QCheckBox >( 1 )->isChecked() );
|
||||||
if ( !h->HavePreestimatedLength() && !h->_is_equivalent( initParamsHypothesis() )) {
|
if ( !h->HavePreestimatedLength() && !h->_is_equivalent( initParamsHypothesis() )) {
|
||||||
StdMeshers::StdMeshers_MaxLength_var hInit =
|
StdMeshers::StdMeshers_MaxLength_var hInit =
|
||||||
@ -610,6 +611,7 @@ bool StdMeshersGUI_StdHypothesisCreator::stdParams( ListOfStdParams& p ) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
item.myName = tr("SMESH_LOCAL_LENGTH_PARAM");
|
item.myName = tr("SMESH_LOCAL_LENGTH_PARAM");
|
||||||
|
if(!initVariableName(aParameters,item,0))
|
||||||
item.myValue = h->GetLength();
|
item.myValue = h->GetLength();
|
||||||
p.append( item );
|
p.append( item );
|
||||||
customWidgets()->append(0);
|
customWidgets()->append(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user