- GEOMBase_TransparencyDlg( QWidget* parent = 0,
- const char* name = 0,
- SALOME_Selection* Sel = 0,
- const Handle(AIS_InteractiveContext)& ic = 0,
- bool modal = TRUE,
- WFlags fl = 0 );
-
- ~GEOMBase_TransparencyDlg();
-
-private :
-
- GEOMContext* myGeomGUI ; /* Current GeomGUI object */
- GEOMBase* myGeomBase ; /* Current GeomGUI object */
- bool myFirstInit ; /* Inform for the first init */
- SALOME_Selection* mySel; /* User selection */
- Handle(AIS_InteractiveContext) myIc ; /* Interactive context */
-
- QPushButton* buttonOk;
- QLabel* TextLabelOpaque;
- QLabel* TextLabelTransparent;
- QSlider* Slider1;
-
-public slots:
-
- void ClickOnOk();
- void ClickOnClose();
- void ValueHasChanged( int newValue ) ;
-
-protected:
- QGridLayout* GEOMBase_TransparencyDlgLayout;
- QHBoxLayout* Layout1;
- QHBoxLayout* Layout2;
+ GEOMToolsGUI_TransparencyDlg( QWidget* );
+ ~GEOMToolsGUI_TransparencyDlg();
+
+private:
+ void keyPressEvent( QKeyEvent* );
+
+private:
+ bool myFirstInit; /* Inform for the first init */
+ QSlider* mySlider;
+ QLabel* myValueLab;
+ QString myHelpFileName;
+
+private slots:
+ void ClickOnOk();
+ void ClickOnClose();
+ void ClickOnHelp();
+ void ValueHasChanged();
+ void SetTransparency();