From feefc2137e498373c56309ec4bbf77ce88994fbc Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 20 May 2008 09:00:58 +0000 Subject: [PATCH] NPAL19051: 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 | 1 + src/OCCViewer/OCCViewer_ViewWindow.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OCCViewer/OCCViewer_ViewWindow.cxx b/src/OCCViewer/OCCViewer_ViewWindow.cxx index cf924147f..ad3756ad1 100755 --- a/src/OCCViewer/OCCViewer_ViewWindow.cxx +++ b/src/OCCViewer/OCCViewer_ViewWindow.cxx @@ -1195,6 +1195,7 @@ void OCCViewer_ViewWindow::onCloneView() { SUIT_ViewWindow* vw = myManager->createViewWindow(); vw->show(); + emit viewCloned( vw ); } /*! diff --git a/src/OCCViewer/OCCViewer_ViewWindow.h b/src/OCCViewer/OCCViewer_ViewWindow.h index 0e4062f8a..6347028de 100755 --- a/src/OCCViewer/OCCViewer_ViewWindow.h +++ b/src/OCCViewer/OCCViewer_ViewWindow.h @@ -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 * ); -- 2.39.2