From: vtn Date: Tue, 2 Apr 2013 13:41:06 +0000 (+0000) Subject: Added PDF filter to Plot2d dump window. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5a9d8b3bbe43c03c51ca0315b3b6b9cb707caa8;p=modules%2Fgui.git Added PDF filter to Plot2d dump window. --- diff --git a/src/Plot2d/Plot2d_ViewWindow.cxx b/src/Plot2d/Plot2d_ViewWindow.cxx index 2d9475b53..0cd69427e 100755 --- a/src/Plot2d/Plot2d_ViewWindow.cxx +++ b/src/Plot2d/Plot2d_ViewWindow.cxx @@ -773,6 +773,7 @@ bool Plot2d_ViewWindow::dumpViewToFormat( const QImage& img, QString Plot2d_ViewWindow::filter() const { QStringList filters = SUIT_ViewWindow::filter().split( ";;", QString::SkipEmptyParts ); + filters << tr( "PDF_FILES" ); filters << tr( "POSTSCRIPT_FILES" ); filters << tr( "ENCAPSULATED_POSTSCRIPT_FILES" ); return filters.join( ";;" ); diff --git a/src/Plot2d/resources/Plot2d_msg_en.ts b/src/Plot2d/resources/Plot2d_msg_en.ts index f512d87d9..d03168df7 100644 --- a/src/Plot2d/resources/Plot2d_msg_en.ts +++ b/src/Plot2d/resources/Plot2d_msg_en.ts @@ -71,6 +71,10 @@ ENCAPSULATED_POSTSCRIPT_FILES Encapsulated PostScript files (*.eps) + + PDF_FILES + PDF files (*.pdf) + DSC_GLOBALPAN_VIEW Selection of a new center of the view diff --git a/src/Plot2d/resources/Plot2d_msg_fr.ts b/src/Plot2d/resources/Plot2d_msg_fr.ts index cc78b0374..8c3ffbe75 100755 --- a/src/Plot2d/resources/Plot2d_msg_fr.ts +++ b/src/Plot2d/resources/Plot2d_msg_fr.ts @@ -71,6 +71,10 @@ ENCAPSULATED_POSTSCRIPT_FILES Fichiers PostScript encapsulés (*.eps) + + PDF_FILES + Fichiers PDF (*.pdf) + DSC_GLOBALPAN_VIEW Sélection d'un nouveau centre de vue