1 // File : GeometryGUI_TransparencyDlg.h
3 // Author : Lucien PIGNOLONI
5 // Module : GeometryGUI
6 // Copyright : OPEN CASCADE
9 #ifndef DIALOGBOX_TRANSPARENCYDLG_H
10 #define DIALOGBOX_TRANSPARENCYDLG_H
15 #include "SALOME_Selection.h"
16 #include "SALOME_InteractiveObject.hxx"
17 #include "GEOM_InteractiveObject.hxx"
18 #include "GEOM_AISShape.hxx"
32 //=================================================================================
33 // class : GeometryGUI_TransparencyDlg
35 // : WARNING : that is a MODAL dialog.
36 //=================================================================================
37 class GeometryGUI_TransparencyDlg : public QDialog
42 GeometryGUI_TransparencyDlg( QWidget* parent = 0,
44 SALOME_Selection* Sel = 0,
45 const Handle(AIS_InteractiveContext)& ic = 0,
49 ~GeometryGUI_TransparencyDlg();
53 GeometryGUI* myGeomGUI ; /* Current GeomGUI object */
54 bool myFirstInit ; /* Inform for the first init */
55 SALOME_Selection* mySel; /* User selection */
56 Handle(AIS_InteractiveContext) myIc ; /* Interactive context */
58 QPushButton* buttonOk;
59 QLabel* TextLabelOpaque;
60 QLabel* TextLabelTransparent;
67 void ValueHasChanged( int newValue ) ;
70 QGridLayout* GeometryGUI_TransparencyDlgLayout;
75 #endif // DIALOGBOX_TRANSPARENCYDLG_H