Salome HOME
1231b067e4a84471c9f11902f1ceaca3f9e89fcc
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_AdaptDlg.h
1 // Copyright (C) 2011-2020  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // SMESH SMESHGUI : GUI for the adaptation in the SMESH component
21 // File   : SMESHGUI_AdaptDlg.h
22 // Author : GĂ©rald NICOLAS, EDF
23 //
24 #ifndef SMESHGUI_ADAPTDLG_H
25 #define SMESHGUI_ADAPTDLG_H
26
27 // SMESH includes
28 #include "SMESH_SMESHGUI.hxx"
29
30 // Qt includes
31 #include <QDialog>
32
33 // IDL includes
34 #include <SALOMEconfig.h>
35 #include CORBA_SERVER_HEADER(SMESH_Mesh)
36
37 class SMESHGUI;
38
39 //=================================================================================
40 // class    : SMESHGUI_AdaptDlg
41 // purpose  :
42 //=================================================================================
43 class SMESHGUI_EXPORT SMESHGUI_AdaptDlg : public QWidget
44 {
45 public:
46   SMESHGUI_AdaptDlg( SMESHGUI*,
47                      int theCommandID,
48                      SMESH::SMESH_Mesh_ptr = SMESH::SMESH_Mesh::_nil() );
49   ~SMESHGUI_AdaptDlg();
50
51   void action (int theCommandID);
52   virtual bool OnGUIEvent (int theCommandID);
53
54 //   static ADAPT::ADAPT_Gen_var InitAdaptGen(SalomeApp_Application*);
55
56 public slots:
57
58 protected slots:
59
60 private slots:
61
62 private:
63
64 //   void recupPreferences();
65   SMESHGUI*                     mySMESHGUI;              /* Current SMESHGUI object */
66
67   QString _ObjectName;
68   QString _LanguageShort ;
69   int _PublisMeshIN ;
70   int _PublisMeshOUT ;
71   int _YACSMaxIter ;
72   int _YACSMaxNode ;
73   int _YACSMaxElem ;
74   int _YACSTypeTest ;
75 };
76
77 #endif // SMESHGUI_ADAPTDLG_H