]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Added PDF filter to Plot2d dump window.
authorvtn <vtn@opencascade.com>
Tue, 2 Apr 2013 13:41:06 +0000 (13:41 +0000)
committervtn <vtn@opencascade.com>
Tue, 2 Apr 2013 13:41:06 +0000 (13:41 +0000)
src/Plot2d/Plot2d_ViewWindow.cxx
src/Plot2d/resources/Plot2d_msg_en.ts
src/Plot2d/resources/Plot2d_msg_fr.ts

index 2d9475b5323c14724d503f0ead1568aac52f7b81..0cd69427e20f1555cb1eec168526ebf487a8b21b 100755 (executable)
@@ -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( ";;" );
index f512d87d97720d43783e090cc60b27ae1b7845c2..d03168df76386a2535e2b0218b821ef9ea68bf6d 100644 (file)
         <source>ENCAPSULATED_POSTSCRIPT_FILES</source>
         <translation>Encapsulated PostScript files (*.eps)</translation>
     </message>
+    <message>
+        <source>PDF_FILES</source>
+        <translation>PDF files (*.pdf)</translation>
+    </message>
     <message>
         <source>DSC_GLOBALPAN_VIEW</source>
         <translation>Selection of a new center of the view</translation>
index cc78b0374d921e78f367f654b59586721c4db82c..8c3ffbe7529f13bed6734b9820b31ed8776386d7 100755 (executable)
         <source>ENCAPSULATED_POSTSCRIPT_FILES</source>
         <translation>Fichiers PostScript encapsulés (*.eps)</translation>
     </message>
+    <message>
+        <source>PDF_FILES</source>
+        <translation>Fichiers PDF (*.pdf)</translation>
+    </message>
     <message>
         <source>DSC_GLOBALPAN_VIEW</source>
         <translation>Sélection d&apos;un nouveau centre de vue</translation>