{
}
-bool NETGENPluginGUI_SimpleCreator::checkParams() const
+bool NETGENPluginGUI_SimpleCreator::checkParams(QString& msg) const
{
- return true;
+ bool result = true;
+ result = myNbSeg->isValid(msg,true) && result;
+ result = myLength->isValid(msg,true) && result;
+ result = myArea->isValid(msg,true) && result;
+ if (myVolume)
+ result = myVolume->isValid(msg,true) && result;
+
+ return result;
}
QFrame* NETGENPluginGUI_SimpleCreator::buildFrame()
h->SetMaxElementVolume( myVolume->value() );
valStr += "; vol=" + myVolume->text();
aVariablesList.append( myVolume->text());
- h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
}
else {
h->LengthFromFaces();
NETGENPluginGUI_SimpleCreator(const QString& theHypType);
virtual ~NETGENPluginGUI_SimpleCreator();
- virtual bool checkParams() const;
+ virtual bool checkParams(QString& msg) const;
virtual QString helpPage() const;
protected: