1 // GHS3DPRLPlugin GUI: GUI for plugged-in mesher GHS3DPRLPlugin
3 // Copyright (C) 2003 CEA
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License.
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // See http://www.salome-platform.org or email : webmaster.salome@opencascade.org
23 // File : GHS3DPRLPluginGUI_HypothesisCreator.h
24 // Author : Christian VAN WAMBEKE (CEA) (from Hexotic plugin Lioka RAZAFINDRAZAKA)
25 // Module : GHS3DPRLPlugin
28 #ifndef GHS3DPRLPLUGINGUI_HypothesisCreator_HeaderFile
29 #define GHS3DPRLPLUGINGUI_HypothesisCreator_HeaderFile
31 #include <SMESHGUI_Hypotheses.h>
44 } GHS3DPRLHypothesisData;
47 * \brief Class for creation of GHS3DPRL hypotheses
49 class GHS3DPRLPluginGUI_HypothesisCreator : public SMESHGUI_GenericHypothesisCreator
54 GHS3DPRLPluginGUI_HypothesisCreator( const QString& );
55 virtual ~GHS3DPRLPluginGUI_HypothesisCreator();
57 virtual bool checkParams() const;
60 virtual QFrame* buildFrame ();
61 virtual void retrieveParams() const;
62 virtual QString storeParams () const;
64 virtual QString caption() const;
65 virtual QPixmap icon() const;
66 virtual QString type() const;
69 bool readParamsFromHypo( GHS3DPRLHypothesisData& ) const;
70 bool readParamsFromWidgets( GHS3DPRLHypothesisData& ) const;
71 bool storeParamsToHypo( const GHS3DPRLHypothesisData& ) const;
77 QLabel* myMEDNameText;
78 QtxIntSpinBox* myNbPart;
80 QCheckBox* myKeepFiles;