]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message *** BR_VISU_2008 TG_VISU_2008_2008-09-12 TG_VISU_2008_Development_Finished
authorvsv <vsv@opencascade.com>
Fri, 5 Sep 2008 12:55:34 +0000 (12:55 +0000)
committervsv <vsv@opencascade.com>
Fri, 5 Sep 2008 12:55:34 +0000 (12:55 +0000)
src/SVTK/SVTK_ViewWindow.cxx
src/SVTK/SVTK_ViewWindow.h

index 7e551ad8fa5cfbefc9190e724efa8a059f43831f..3093d1ba5c41e6f65b3fcd0e0da76d85225c6240 100755 (executable)
@@ -1933,3 +1933,20 @@ void SVTK_ViewWindow::onViewParameters(bool theIsActivate)
   }else
     myViewParameterDlg->hide();
 }
+
+/*!
+  Custom show event handler
+*/
+void SVTK_ViewWindow::showEvent( QShowEvent * theEvent ) 
+{
+  emit Show( theEvent );
+}
+
+/*!
+  Custom hide event handler
+*/
+void SVTK_ViewWindow::hideEvent( QHideEvent * theEvent ) 
+{
+  emit Hide( theEvent );
+}
+
index 7b1916c3502607d8eab43a6620943468c47e2329..0b5f2014ac14aabf059d53bc82242a10fd313d7a 100755 (executable)
@@ -246,7 +246,13 @@ class SVTK_EXPORT SVTK_ViewWindow : public SUIT_ViewWindow
   //! To invoke a VTK event on #SVTK_RenderWindowInteractor instance
   void InvokeEvent(unsigned long theEvent, void* theCallData);
   
+ signals:
+  void Show( QShowEvent * );
+  void Hide( QHideEvent * );
+
 public slots:
+  virtual void showEvent( QShowEvent * );
+  virtual void hideEvent( QHideEvent * );
   virtual void onSelectionChanged();
 
   void onChangeRotationPoint(bool theIsActivate);