Salome HOME
Nouvelles icones
[modules/homard.git] / src / HOMARDGUI / MonIterInfo.h
1 // Copyright (C) 2011-2013  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.
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 #ifndef MON_ITERINFO_H
21 #define MON_ITERINFO_H
22
23 #include <SALOMEconfig.h>
24 #include <SalomeApp_Module.h>
25
26 #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
27 #include CORBA_CLIENT_HEADER(HOMARD_Gen)
28 #include CORBA_CLIENT_HEADER(HOMARD_Cas)
29
30 #include <IterInfo.h>
31 #include <QDialog>
32 #include <QWidget>
33 #include "EditFile.h"
34
35 class QListBox;
36
37 class MonIterInfo : public QDialog, public Ui_IterInfo
38 {
39     Q_OBJECT
40
41 public:
42     MonIterInfo( QWidget* parent, bool modal, HOMARD::HOMARD_Gen_var myHomardGen, QString IterName);
43     ~MonIterInfo();
44
45 protected :
46     MonIterInfo( QWidget* parent, HOMARD::HOMARD_Gen_var myHomardGen, QString IterName );
47
48     QString _IterName;
49     QString _aCaseName;
50
51     int _BlockSize;
52     int _Connection;
53     int _Diametre;
54     int _Entanglement;
55     int _Quality;
56     int _Option;
57
58     HOMARD::HOMARD_Iteration_var aIter ;
59     HOMARD::HOMARD_Gen_var myHomardGen;
60
61     virtual void InitConnect();
62
63 public slots:
64
65     virtual void SetBlockSize();
66     virtual void SetConnection();
67     virtual void SetEntanglement();
68     virtual void SetDiametre();
69     virtual void SetQuality();
70
71     virtual void PushOnOK();
72     virtual bool PushOnApply();
73     virtual void PushOnHelp();
74
75 };
76
77 #endif // MON_ITERINFO_H