From: ouv Date: Tue, 30 Jan 2007 16:25:26 +0000 (+0000) Subject: Added signal vfViewDumped() X-Git-Tag: CTH_V12~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11c80f734ac58b407bbbce2fc444cd25d4a1f849;p=modules%2Fgui.git Added signal vfViewDumped() --- 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;