Salome HOME
Bug 0020043: EDF 865 GEOM: Object is non valid after translation. Fix object after...
[modules/geom.git] / src / OperationGUI / OperationGUI_MaterialDlg.h
1 // GEOM GEOMGUI : GUI for Geometry component
2 //
3 // Copyright (C) 2003  CEA
4 // 
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. 
9 // 
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. 
14 // 
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 
18 // 
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 //
21 // File   : OperationGUI_MaterialDlg.h
22 // Author : Julia DOROVSKIKH, Open CASCADE S.A.S. (julia.dorovskikh@opencascade.com)
23 //
24
25 #ifndef OPERATIONGUI_MATERIALDLG_H
26 #define OPERATIONGUI_MATERIALDLG_H
27
28 #include <GEOMBase_Skeleton.h>
29
30 class DlgRef_1List1Spin1Btn;
31
32 //=================================================================================
33 // class    : OperationGUI_MaterialDlg
34 // purpose  :
35 //=================================================================================
36 class OperationGUI_MaterialDlg : public GEOMBase_Skeleton
37
38   Q_OBJECT
39
40 public:
41   OperationGUI_MaterialDlg( GeometryGUI*, QWidget*, GEOM::ListOfGO,
42                             bool = false );
43   ~OperationGUI_MaterialDlg();
44   
45 private:
46   void                       Init();
47   void                       enterEvent( QEvent* );
48   
49 private:
50   GEOM::ListOfGO             myListShapes;
51   GEOM::ListOfLong           myListMaterials;
52   
53   DlgRef_1List1Spin1Btn*     GroupPoints;
54   
55 private slots:
56   void                       ClickOnOk();
57   void                       ActivateThisDialog();
58   void                       SelectionIntoArgument();
59   void                       SetMaterial();
60 };
61
62 #endif // OPERATIONGUI_MATERIALDLG_H