From: adv Date: Wed, 20 Nov 2013 05:42:41 +0000 (+0000) Subject: "Lat" and "Lang" labels added in import image panel (issue). X-Git-Tag: BR_hydro_v_0_3_1~56 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=934317a89447e6443ca97356a805bcdbb2bae90f;p=modules%2Fhydro.git "Lat" and "Lang" labels added in import image panel (issue). --- diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx index 74fcfc1c..d389433f 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx @@ -176,9 +176,12 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co QLabel* aPointYMinLabel = new QLabel( "'", myTransformGroup ); QLabel* aPointXSecLabel = new QLabel( "\"", myTransformGroup ); QLabel* aPointYSecLabel = new QLabel( "\"", myTransformGroup ); + QLabel* aPointLatLabel = new QLabel( tr( "POINT_LATITUDE" ), myTransformGroup ); + QLabel* aPointLonLabel = new QLabel( tr( "POINT_LONGITUDE" ), myTransformGroup ); myGeodesicLabels << aPointXDegLabel << aPointYDegLabel << aPointXMinLabel << aPointYMinLabel - << aPointXSecLabel << aPointYSecLabel; + << aPointXSecLabel << aPointYSecLabel + << aPointLatLabel << aPointLonLabel; QtxIntSpinBox* aPointXDeg = new QtxIntSpinBox( -180, 180, 1, myTransformGroup ); QtxIntSpinBox* aPointYDeg = new QtxIntSpinBox( 0, 90, 1, myTransformGroup ); @@ -198,11 +201,11 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co { myPointCEnabler = new QCheckBox( myTransformGroup ); aTransformLayout->addWidget( myPointCEnabler, aRow, 0, 1, 2, Qt::AlignHCenter ); - aTransformLayout->addWidget( aPointBtn, aRow, 2, 1, 7 ); + aTransformLayout->addWidget( aPointBtn, aRow, 2, 1, 8 ); } else { - aTransformLayout->addWidget( aPointBtn, aRow, 0, 1, 9 ); + aTransformLayout->addWidget( aPointBtn, aRow, 0, 1, 10 ); } aTransformLayout->addWidget( aPointXLabel, aRow + 1, 0 ); @@ -214,6 +217,7 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co aTransformLayout->addWidget( aPointXMinLabel, aRow + 1, 6 ); aTransformLayout->addWidget( aPointXSec, aRow + 1, 7 ); aTransformLayout->addWidget( aPointXSecLabel, aRow + 1, 8 ); + aTransformLayout->addWidget( aPointLatLabel, aRow + 1, 9 ); aTransformLayout->addWidget( aCartPointX, aRow + 1, 3, 1, 6 ); aTransformLayout->addWidget( aRefPointX, aRow + 1, 3, 1, 6 ); @@ -226,6 +230,7 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co aTransformLayout->addWidget( aPointYMinLabel, aRow + 2, 6 ); aTransformLayout->addWidget( aPointYSec, aRow + 2, 7 ); aTransformLayout->addWidget( aPointYSecLabel, aRow + 2, 8 ); + aTransformLayout->addWidget( aPointLonLabel, aRow + 2, 9 ); aTransformLayout->addWidget( aCartPointY, aRow + 2, 3, 1, 6 ); aTransformLayout->addWidget( aRefPointY, aRow + 2, 3, 1, 6 ); @@ -235,7 +240,7 @@ HYDROGUI_ImportImageDlg::HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, co QFrame* aLine = new QFrame( myTransformGroup ); aLine->setFrameShape( QFrame::HLine ); aLine->setFrameShadow( QFrame::Sunken ); - aTransformLayout->addWidget( aLine, aRow + 3, 0, 1, 9 ); + aTransformLayout->addWidget( aLine, aRow + 3, 0, 1, 10 ); } myPointBtnMap[ aPointType ] = aPointBtn; diff --git a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts index d2b841a0..c198e2bc 100644 --- a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts +++ b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts @@ -372,6 +372,14 @@ file cannot be correctly imported for a Bathymetry definition. LAMBERT93 Plane coordinates (Lambert93) + + POINT_LATITUDE + Lat + + + POINT_LONGITUDE + Long + REFERENCE_IMAGE_CS Reference Image CS