]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
NPAL19051:
authorsln <sln@opencascade.com>
Tue, 20 May 2008 09:00:58 +0000 (09:00 +0000)
committersln <sln@opencascade.com>
Tue, 20 May 2008 09:00:58 +0000 (09:00 +0000)
1) cloneView() slot is renamed in  viewCloned() slot.
2) Parameter is added in viewCloned( SUIT_ViewWindow* ) slot for uniformity with corresponding signal emitted from Plot2d_Viewer
3)viewCloned() signal is emitted from onCloneView() slot now.

src/OCCViewer/OCCViewer_ViewWindow.cxx
src/OCCViewer/OCCViewer_ViewWindow.h

index cf924147f180a6d018b3f6972bcf019cf891fc6f..ad3756ad1e5e78891ba2d06cf4ded2721a1214df 100755 (executable)
@@ -1195,6 +1195,7 @@ void OCCViewer_ViewWindow::onCloneView()
 {
   SUIT_ViewWindow* vw = myManager->createViewWindow();
   vw->show();
+  emit viewCloned( vw );
 }
 
 /*!
index 0e4062f8afe5a46279f0d01a95ae68a4c4bb10a3..6347028defd34e5802775f90f8de92ef2a3368b0 100755 (executable)
@@ -116,7 +116,7 @@ public slots:
 signals:
   void vpTransformationStarted(OCCViewer_ViewWindow::OperationType type);
   void vpTransformationFinished(OCCViewer_ViewWindow::OperationType type);
-  void cloneView();
+  void viewCloned( SUIT_ViewWindow* );
 
   void Show( QShowEvent * );
   void Hide( QHideEvent * );