From: ouv Date: Wed, 28 Aug 2013 11:28:02 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v_0_1~97 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=86019d8c0f8f132327a62327dd93d43d61b288de;p=modules%2Fhydro.git Minor changes. --- diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx index 47c7f13a..3854c6c4 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx @@ -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 ); diff --git a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts index 8ec23880..a2a238b8 100644 --- a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts +++ b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts @@ -97,14 +97,14 @@ IMPORT_IMAGE_FROM_FILE Import image from file - - MAPPING - Mapping - NAME Name + + TRANSFORM_IMAGE + Transform image + HYDROGUI_ImportImageOp