]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor changes.
authorouv <ouv@opencascade.com>
Wed, 28 Aug 2013 11:28:02 +0000 (11:28 +0000)
committerouv <ouv@opencascade.com>
Wed, 28 Aug 2013 11:28:02 +0000 (11:28 +0000)
src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx
src/HYDROGUI/resources/HYDROGUI_msg_en.ts

index 47c7f13a3166ecd2d4e425c0c3c4e3ba57a9784b..3854c6c44f5c5081ae524cfa5ec6b70432172615 100644 (file)
@@ -75,8 +75,8 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co
   anImageNameLayout->addWidget( anImageNameLabel );
   anImageNameLayout->addWidget( myImageName );
 
-  // Mapping
-  myMappingGroup = new QGroupBox( tr( "MAPPING" ) );
+  // Mapping (transform image)
+  myMappingGroup = new QGroupBox( tr( "TRANSFORM_IMAGE" ) );
 
   QGridLayout* aMappingLayout = new QGridLayout( myMappingGroup );
   aMappingLayout->setMargin( 5 );
@@ -342,11 +342,8 @@ void HYDROGUI_ImportImageDlg::initializePointSelection()
 void HYDROGUI_ImportImageDlg::onBrowse()
 {
   QString aFilter( tr( "IMAGE_FILTER" ) );
-#ifdef OUV_DEBUG // to remove
+  //QString aFileName = QFileDialog::getOpenFileName( this, tr( "IMPORT_IMAGE_FROM_FILE" ), "", aFilter );
   QString aFileName = "W:/Work/HYDRO/doc/samples/1.bmp";
-#else
-  QString aFileName = QFileDialog::getOpenFileName( this, tr( "IMPORT_IMAGE_FROM_FILE" ), "", aFilter );
-#endif
   if( !aFileName.isEmpty() )
   {
     QImage anImage( aFileName );
index 8ec238804bc888362f825fe6ff0c747af9e55c7d..a2a238b84f1559be18b57a4b307f515574e59d11 100644 (file)
       <source>IMPORT_IMAGE_FROM_FILE</source>
       <translation>Import image from file</translation>
     </message>
-    <message>
-      <source>MAPPING</source>
-      <translation>Mapping</translation>
-    </message>
     <message>
       <source>NAME</source>
       <translation>Name</translation>
     </message>
+    <message>
+      <source>TRANSFORM_IMAGE</source>
+      <translation>Transform image</translation>
+    </message>
   </context>
   <context>
     <name>HYDROGUI_ImportImageOp</name>