X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_StdHypothesisCreator.h;h=b9e22ae0217873b724855e2c7a4acb29ec8d6169;hb=df9cc07c95bbe75654ed43634939a133ccebe2f6;hp=b43746cd2ddf19aa50406dde161d981eb6177edf;hpb=bd8f1aee7c78f7d2eb82bd4fec5e08c9e3d280ce;p=modules%2Fsmesh.git diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h index b43746cd2..b9e22ae02 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -54,15 +54,20 @@ protected: virtual QPixmap icon() const; virtual QString type() const; virtual QWidget* getCustomWidget( const StdParam&, QWidget*, const int ) const; + virtual QWidget* getHelperWidget() const { return myHelperWidget; } virtual bool getParamFromCustomWidget( StdParam& , QWidget* ) const; virtual QString hypTypeName( const QString& ) const; virtual QWidget* getWidgetForParam( int paramIndex ) const; virtual ListOfWidgets* customWidgets() const; virtual void onReject(); + virtual void valueChanged( QWidget* ); + bool initVariableName(SMESH::SMESH_Hypothesis_var theHyp, StdParam& theParams, const char* theMethod) const; + QWidget* makeReverseEdgesWdg( SMESH::long_array_var edgeIDs, + CORBA::String_var shapeEntry) const; + - virtual void valueChanged( QWidget* ); template T* widget(int i) const { @@ -70,6 +75,7 @@ protected: } ListOfWidgets myCustomWidgets; + QWidget* myHelperWidget; }; #endif // STDMESHERSGUI_STDHYPOTHESISCREATOR_H