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 );
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 );
<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>