Salome HOME
Update mail address
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_TransparencyDlg.h
index 215abe83290df8ea50b81d4a59e56914a7e0a6e9..54fa8e16f103cf868ec79cb243d06c2ac932aaac 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #ifndef DIALOGBOX_TRANSPARENCYDLG_H
 #define DIALOGBOX_TRANSPARENCYDLG_H
 
-#include "SALOME_Selection.h"
-#include "SALOME_InteractiveObject.hxx"
-
 // QT Includes
-#include <qvariant.h>
 #include <qdialog.h>
 
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QFrame;
 class QLabel;
 class QPushButton;
 class QSlider;
+class LightApp_SelectionMgr;
+class SVTK_Selector;
+class SVTK_ViewWindow;
 class SMESHGUI;
 
 //=================================================================================
@@ -54,36 +49,35 @@ class SMESHGUI_TransparencyDlg : public QDialog
     Q_OBJECT
 
 public:
-    SMESHGUI_TransparencyDlg( QWidget* parent = 0,
-                                const char* name = 0,
-                                SALOME_Selection* Sel = 0,
-                                bool modal = TRUE,
-                                WFlags fl = 0 );
+    SMESHGUI_TransparencyDlg( SMESHGUI*,
+                             const char* name = 0,
+                             bool modal = false,
+                             WFlags fl = 0 );
 
     ~SMESHGUI_TransparencyDlg();
 
 private :
 
-    SMESHGUI*                        mySMESHGUI ;     /* Current GeomGUI object     */
-    bool                             myFirstInit ;    /* Inform for the first init  */
-    SALOME_Selection*                mySel;           /* User selection             */
-    
-    QPushButton* buttonOk;
-    QLabel* TextLabelOpaque;
-    QLabel* TextLabelTransparent;
-    QSlider* Slider1;
+  SMESHGUI*               mySMESHGUI;
+  LightApp_SelectionMgr*  mySelectionMgr;
+  SVTK_ViewWindow*        myViewWindow;
+
+  QPushButton*      buttonOk;
+  QPushButton*      buttonHelp;
+  QLabel*           TextLabelOpaque;
+  QLabel*           ValueLab;
+  QLabel*           TextLabelTransparent;
+  QSlider*          Slider1;
+
+  QString           myHelpFileName;
 
 public slots:
       
     void ClickOnOk();
-    void ClickOnClose();
-    void ValueHasChanged( int newValue ) ;
-    
-protected:
-    QGridLayout* SMESHGUI_TransparencyDlgLayout;
-    QHBoxLayout* Layout1;
-    QHBoxLayout* Layout2;
+    void ClickOnHelp();
+    void ValueHasChanged();
+    void SetTransparency();
+    void onSelectionChanged();
 };
 
 #endif // DIALOGBOX_TRANSPARENCYDLG_H
-