0019923: EDF 765 SMESH : default values of hypothesis

+  bool                         hasInitParamsHypothesis() const;
This commit is contained in:
eap 2009-01-20 15:10:46 +00:00
parent b69a0197ca
commit e16b5ec1a8
2 changed files with 6 additions and 0 deletions

View File

@ -363,6 +363,11 @@ SMESH::SMESH_Hypothesis_var SMESHGUI_GenericHypothesisCreator::initParamsHypothe
return myInitParamsHypo;
}
bool SMESHGUI_GenericHypothesisCreator::hasInitParamsHypothesis() const
{
return !CORBA::is_nil( myInitParamsHypo );
}
QString SMESHGUI_GenericHypothesisCreator::hypType() const
{
return myHypType;

View File

@ -77,6 +77,7 @@ protected:
SMESH::SMESH_Hypothesis_var hypothesis() const;
SMESH::SMESH_Hypothesis_var initParamsHypothesis(const bool strict=false) const;
bool hasInitParamsHypothesis() const;
const ListOfWidgets& widgets() const;
ListOfWidgets& changeWidgets();
QtxDialog* dlg() const;