Salome HOME
Merge from V6_main 01/04/2013
[modules/homard.git] / src / HOMARDGUI / MonCreateListGroup.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_CREATELISTGROUP_H
21 #define MON_CREATELISTGROUP_H
22
23
24 #include <SALOMEconfig.h>
25 #include <SalomeApp_Module.h>
26
27 #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
28 #include CORBA_CLIENT_HEADER(HOMARD_Gen)
29
30 #include <CreateListGroup.h>
31 #include <QDialog>
32
33 class MonCreateHypothesis;
34 class MonCreateBoundaryDi;
35 class MonCreateListGroup : public QDialog, public Ui_CreateListGroup
36 {
37     Q_OBJECT
38
39 public:
40     MonCreateListGroup( MonCreateHypothesis* parentHyp, MonCreateBoundaryDi* parentBound, bool modal, HOMARD::HOMARD_Gen_var myHomardGen, QString aCaseName,  QStringList listeGroupesHypo);
41     MonCreateListGroup( MonCreateHypothesis* parentHyp, MonCreateBoundaryDi* parentBound, HOMARD::HOMARD_Gen_var myHomardGen, QString aCaseName, QStringList listeGroupesHypo);
42     virtual ~MonCreateListGroup();
43
44 protected :
45
46     HOMARD::HOMARD_Gen_var _myHomardGen;
47
48     MonCreateHypothesis * _parentHyp;
49     MonCreateBoundaryDi * _parentBound;
50     QString _aCaseName;
51     QStringList _listeGroupesHypo;
52
53     virtual void InitConnect();
54     virtual void InitGroupes();
55
56 public slots:
57     virtual void PushOnOK();
58     virtual bool PushOnApply();
59     virtual void PushOnHelp();
60
61 };
62
63 #endif // MON_CREATELISTGROUP_H