aPainter.drawPixmap( 0, 0, anArrowPixmap );
aPainter.end();
- QRadioButton* aManualCartesianBtn = new QRadioButton( tr( "MANUALLY_CARTESIAN" ), myTransformGroup );
- QRadioButton* aManualLambertBtn = new QRadioButton( tr( "MANUALLY_LAMBERT93" ), myTransformGroup );
+ QRadioButton* aManualLambertBtn = new QRadioButton( tr( "MANUALLY_GEODESIC" ), myTransformGroup );
+ QRadioButton* aManualCartesianBtn = new QRadioButton( tr( "MANUALLY_LAMBERT93" ), myTransformGroup );
QRadioButton* aRefImageBtn = new QRadioButton( tr( "BY_REFERENCE_IMAGE" ), myTransformGroup );
myModeGroup = new QButtonGroup( myTransformGroup );
- myModeGroup->addButton( aManualCartesianBtn, HYDROData_Image::ManualCartesian );
myModeGroup->addButton( aManualLambertBtn, HYDROData_Image::ManualLambert );
+ myModeGroup->addButton( aManualCartesianBtn, HYDROData_Image::ManualCartesian );
myModeGroup->addButton( aRefImageBtn, HYDROData_Image::ReferenceImage );
myRefImage = new QComboBox( myTransformGroup );
QGridLayout* aModeLayout = new QGridLayout( myTransformGroup );
aModeLayout->setMargin( 0 );
aModeLayout->setSpacing( 5 );
- aModeLayout->addWidget( aManualCartesianBtn, 0, 0 );
- aModeLayout->addWidget( aManualLambertBtn, 1, 0 );
+ aModeLayout->addWidget( aManualLambertBtn, 0, 0 );
+ aModeLayout->addWidget( aManualCartesianBtn, 1, 0 );
aModeLayout->addWidget( aRefImageBtn, 2, 0 );
aModeLayout->addWidget( myRefImage, 2, 1 );
aModeLayout->setColumnStretch( 1, 1 );
for( int aPointType = HYDROGUI_PrsImage::PointA;
aPointType <= HYDROGUI_PrsImage::PointC; aPointType++ )
{
- myPointXDegMap[ aPointType ]->setVisible( anIsManualCartesian );
- myPointYDegMap[ aPointType ]->setVisible( anIsManualCartesian );
- myPointXMinMap[ aPointType ]->setVisible( anIsManualCartesian );
- myPointYMinMap[ aPointType ]->setVisible( anIsManualCartesian );
- myPointXSecMap[ aPointType ]->setVisible( anIsManualCartesian );
- myPointYSecMap[ aPointType ]->setVisible( anIsManualCartesian );
-
- myCartPointXMap[ aPointType ]->setVisible( anIsManualLambert );
- myCartPointYMap[ aPointType ]->setVisible( anIsManualLambert );
+ myPointXDegMap[ aPointType ]->setVisible( anIsManualLambert );
+ myPointYDegMap[ aPointType ]->setVisible( anIsManualLambert );
+ myPointXMinMap[ aPointType ]->setVisible( anIsManualLambert );
+ myPointYMinMap[ aPointType ]->setVisible( anIsManualLambert );
+ myPointXSecMap[ aPointType ]->setVisible( anIsManualLambert );
+ myPointYSecMap[ aPointType ]->setVisible( anIsManualLambert );
+
+ myCartPointXMap[ aPointType ]->setVisible( anIsManualCartesian );
+ myCartPointYMap[ aPointType ]->setVisible( anIsManualCartesian );
myRefPointXMap[ aPointType ]->setVisible( anIsRefImage );
myRefPointYMap[ aPointType ]->setVisible( anIsRefImage );