26 #ifndef STDMESHERSGUI_STDHYPOTHESISCREATOR_H
27 #define STDMESHERSGUI_STDHYPOTHESISCREATOR_H
53 virtual QString
caption()
const;
54 virtual QPixmap
icon()
const;
55 virtual QString
type()
const;
60 virtual QString hypTypeName(
const QString& )
const;
61 virtual QWidget* getWidgetForParam(
int paramIndex )
const;
62 virtual ListOfWidgets* customWidgets()
const;
66 bool initVariableName(SMESH::SMESH_Hypothesis_var theHyp, StdParam& theParams,
const char* theMethod)
const;
67 QWidget* makeReverseEdgesWdg( SMESH::long_array_var edgeIDs,
68 CORBA::String_var shapeEntry)
const;
69 void removeOldGroup(
const char* oldName,
77 return dynamic_cast< T*
>( getWidgetForParam( i ));
#define STDMESHERSGUI_EXPORT
Definition: SMESH_StdMeshersGUI.hxx:36
Auxiliary class for creation of hypotheses.
Definition: SMESHGUI_Hypotheses.h:48
virtual QFrame * buildFrame()=0
virtual void onReject()
Definition: SMESHGUI_Hypotheses.cxx:587
virtual bool checkParams(QString &) const
Definition: SMESHGUI_Hypotheses.cxx:567
QList< StdParam > ListOfStdParams
Definition: SMESHGUI_Hypotheses.h:99
QList< QWidget * > ListOfWidgets
Definition: SMESHGUI_Hypotheses.h:100
virtual QPixmap icon() const
Definition: SMESHGUI_Hypotheses.cxx:536
virtual QString storeParams() const =0
virtual void attuneStdWidget(QWidget *, const int) const
Definition: SMESHGUI_Hypotheses.cxx:527
virtual bool getParamFromCustomWidget(StdParam &, QWidget *) const
Definition: SMESHGUI_Hypotheses.cxx:562
virtual bool stdParams(ListOfStdParams &) const
Definition: SMESHGUI_Hypotheses.cxx:351
virtual QString caption() const
Definition: SMESHGUI_Hypotheses.cxx:531
virtual void valueChanged(QWidget *)
Definition: SMESHGUI_Hypotheses.cxx:279
virtual void retrieveParams() const =0
virtual QWidget * getCustomWidget(const StdParam &, QWidget *, const int) const
Definition: SMESHGUI_Hypotheses.cxx:545
virtual QString type() const
Definition: SMESHGUI_Hypotheses.cxx:541
Class for creation of standard hypotheses.
Definition: StdMeshersGUI_StdHypothesisCreator.h:38
T * widget(int i) const
Definition: StdMeshersGUI_StdHypothesisCreator.h:76
virtual QWidget * getHelperWidget() const
Returns a widget representing not a hypothesis parameter but some helper widget.
Definition: StdMeshersGUI_StdHypothesisCreator.h:57
ListOfWidgets myCustomWidgets
Definition: StdMeshersGUI_StdHypothesisCreator.h:80
QWidget * myHelperWidget
Definition: StdMeshersGUI_StdHypothesisCreator.h:81
ElementType
Enumeration for element type, like in SMDS.
Definition: SMESH_Mesh.idl:128
Definition: SMESHGUI_Hypotheses.h:83