X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_NbSegmentsCreator.h;h=7002e032e4da7b5ce37f80abc42feee81e4cc758;hb=82decf21b02b9ab50c26308cd477078a92aeab3f;hp=26ca09918959aff98ed0e73aac2164dcb83d98aa;hpb=6b471bcc54cbeb90f0d977323db8c76d3d2cce09;p=modules%2Fsmesh.git diff --git a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.h b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.h index 26ca09918..7002e032e 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.h +++ b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.h @@ -1,7 +1,28 @@ +// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// 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. +// +// This library is distributed in the hope that it will be useful +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef NB_SEGMENTS_CREATOR_HEADER #define NB_SEGMENTS_CREATOR_HEADER +#include "SMESH_StdMeshersGUI.hxx" + #include "StdMeshersGUI_StdHypothesisCreator.h" #include @@ -15,6 +36,7 @@ class StdMeshersGUI_DistrPreview; class QLineEdit; class QButtonGroup; class QGridLayout; +class QRadioButton; typedef struct { @@ -25,7 +47,7 @@ typedef struct } NbSegmentsHypothesisData; -class StdMeshersGUI_NbSegmentsCreator : public StdMeshersGUI_StdHypothesisCreator +class STDMESHERSGUI_EXPORT StdMeshersGUI_NbSegmentsCreator : public StdMeshersGUI_StdHypothesisCreator { Q_OBJECT @@ -38,7 +60,7 @@ public: protected: virtual QFrame* buildFrame(); virtual void retrieveParams() const; - virtual void storeParams() const; + virtual QString storeParams() const; protected slots: virtual void onValueChanged(); @@ -59,6 +81,7 @@ private: QLabel *myLScale, *myLTable, *myLExpr, *myLConv, *myInfo; QGridLayout* myGroupLayout; int myTableRow, myPreviewRow; + QRadioButton* myCutNeg; }; #endif