]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1384
authorisn <isn@opencascade.com>
Wed, 8 Nov 2017 13:45:57 +0000 (16:45 +0300)
committerisn <isn@opencascade.com>
Wed, 8 Nov 2017 13:45:57 +0000 (16:45 +0300)
src/HYDROGUI/HYDROGUI_ExportImageOp.cxx
src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx
src/HYDROGUI/resources/HYDROGUI_msg_en.ts

index e6e3c72edbdf870ed980489667471b6b8fff5f59..f4360ba67c3779e6a4b8414ec818d0e552e7ff48 100644 (file)
@@ -59,7 +59,7 @@ void HYDROGUI_ExportImageOp::startOperation()
     // Invert the Y axis direction from down to up
     anImage = anImage.transformed( QTransform::fromScale( 1, -1 ), Qt::SmoothTransformation );
     
-    QString aFilter( tr( "IMAGE_FILTER" ) );
+    QString aFilter( tr( "IMAGE_FILTER_EXPORT" ) );
     QString aFileName = SUIT_FileDlg::getFileName( module()->getApp()->desktop(),
                                                    "", aFilter, tr( "EXPORT_IMAGE_TO_FILE" ), false );
     if( !aFileName.isEmpty() )
index 8ad0fcbd95835e930d527bf9389e1113110211e7..e238f569d7ca9a023e561c7cbe652399b6dd93d2 100644 (file)
@@ -798,7 +798,7 @@ HYDROGUI_ImportImageDlg::TransformationData HYDROGUI_ImportImageDlg::ComputeTrsf
 
 void HYDROGUI_ImportImageDlg::onBrowse()
 {
-  QString aFilter( tr( "IMAGE_FILTER" ) );
+  QString aFilter( tr( "IMAGE_FILTER_IMPORT" ) );
   QStringList aFileNamesList = SUIT_FileDlg::getOpenFileNames( this, "", aFilter, tr( "IMPORT_IMAGE_FROM_FILE" ), true );
   emit filesSelected( aFileNamesList );
 }
index 16f8af3b4d687437f97a6bded9768b8576006ad1..f5b1e222c23a648e78a8b2d750200df82e5e9de1 100644 (file)
 does not exist or you have not enough permissions to open it.</translation>
     </message>
     <message>
-      <source>IMAGE_FILTER</source>
+      <source>IMAGE_FILTER_IMPORT</source>
       <translation>Image files (*.bmp *.jpg *.jpeg *.png *.tif *.ecw);;All files (*.* *)</translation>
     </message>
+    <message>
+      <source>IMAGE_FILTER_EXPORT</source>
+      <translation>Image files (*.bmp *.jpg *.jpeg *.png *.tif );;All files (*.* *)</translation>
+    </message>
     <message>
       <source>INCORRECT_OBJECT_NAME</source>
       <translation>The object name must not be an empty string value.</translation>