From 11c80f734ac58b407bbbce2fc444cd25d4a1f849 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 30 Jan 2007 16:25:26 +0000 Subject: [PATCH] Added signal vfViewDumped() --- src/GLViewer/GLViewer_ViewFrame.cxx | 2 ++ src/GLViewer/GLViewer_ViewFrame.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/GLViewer/GLViewer_ViewFrame.cxx b/src/GLViewer/GLViewer_ViewFrame.cxx index d89922d48..1a94c30a1 100644 --- a/src/GLViewer/GLViewer_ViewFrame.cxx +++ b/src/GLViewer/GLViewer_ViewFrame.cxx @@ -440,6 +440,8 @@ void GLViewer_ViewFrame::onViewDump() tr( "DUMP_VIEW_ERROR_DLG_TEXT" ), tr( "BUT_OK" ) ); } + else + emit vfViewDumped( aFileName ); } /*! diff --git a/src/GLViewer/GLViewer_ViewFrame.h b/src/GLViewer/GLViewer_ViewFrame.h index 76b9fe55b..27ffdabb0 100644 --- a/src/GLViewer/GLViewer_ViewFrame.h +++ b/src/GLViewer/GLViewer_ViewFrame.h @@ -74,6 +74,7 @@ public: signals: void vfDrawExternal( QPainter* ); void vfViewClosing( QCloseEvent* ); + void vfViewDumped( QString ); protected: GLViewer_Viewer* myViewer; -- 2.39.2