Salome HOME
medcalc and commands history
[modules/med.git] / src / MEDOP / gui / dialogs / DlgChangeUnderlyingMesh.hxx
1 #ifndef _DlgChangeUnderlyingMesh_HXX
2 #define _DlgChangeUnderlyingMesh_HXX
3
4 #include <QtGui>
5 #include "ui_DlgChangeUnderlyingMesh.h"
6 #include "GenericDialog.hxx"
7
8 #include <SALOME_AppStudyEditor.hxx>
9 #include "MEDOPGUIdialogs.hxx"
10
11 class MEDOPGUI_DIALOGS_EXPORT DlgChangeUnderlyingMesh : public GenericDialog
12 {
13   Q_OBJECT
14   
15 public:
16   DlgChangeUnderlyingMesh(SALOME_AppStudyEditor * studyEditor, QDialog *parent = 0);
17   
18   void setFieldId(int fieldId);
19   int getFieldId();
20   int getMeshId();
21
22 signals:
23   void inputValidated();
24
25 protected slots:
26   void OnSelectMesh();
27
28  private:
29   void accept();
30   int _meshId;
31
32   SALOME_AppStudyEditor * _studyEditor;
33   int _fieldId;
34
35   Ui_DlgChangeUnderlyingMesh ui; // instance of the class defined in ui_DlgChangeUnderlyingMesh.hxx
36 };
37
38
39 #endif // _DlgChangeUnderlyingMesh_HXX