Salome HOME
PAL18573: geometric entities are created with incorrect name
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI_TransparencyDlg.h
1 // GEOM GEOMGUI : GUI for Geometry component
2 //
3 // Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 // This library is free software; you can redistribute it and/or 
7 // modify it under the terms of the GNU Lesser General Public 
8 // License as published by the Free Software Foundation; either 
9 // version 2.1 of the License. 
10 // 
11 // This library is distributed in the hope that it will be useful, 
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 // Lesser General Public License for more details. 
15 // 
16 // You should have received a copy of the GNU Lesser General Public 
17 // License along with this library; if not, write to the Free Software 
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 // File   : GEOMToolsGUI_TransparencyDlg.h
23 // Author : Lucien PIGNOLONI
24 //
25
26 #ifndef GEOMTOOLSGUI_TRANSPARENCYDLG_H
27 #define GEOMTOOLSGUI_TRANSPARENCYDLG_H
28
29 #include <QDialog>
30
31 class QSlider;
32
33 //=================================================================================
34 // class    : GEOMBase_TransparencyDlg
35 // purpose  :
36 //          : WARNING : that is a MODAL dialog.
37 //=================================================================================
38 class GEOMToolsGUI_TransparencyDlg : public QDialog
39
40   Q_OBJECT
41
42 public:
43   GEOMToolsGUI_TransparencyDlg( QWidget* );    
44   ~GEOMToolsGUI_TransparencyDlg();
45
46 private:
47   void      keyPressEvent( QKeyEvent* );
48
49 private:
50   bool      myFirstInit;   /* Inform for the first init  */
51   QSlider*  mySlider; 
52   QString   myHelpFileName;
53
54 private slots: 
55   void      ClickOnOk();
56   void      ClickOnClose();
57   void      ClickOnHelp();
58   void      ValueHasChanged( int ) ;
59 };
60
61 #endif // GEOMTOOLSGUI_TRANSPARENCYDLG_H