myGeodesicLabels << aPointXDegLabel << aPointYDegLabel
<< aPointXMinLabel << aPointYMinLabel
<< aPointXSecLabel << aPointYSecLabel
- << aPointLatLabel << aPointLonLabel;
+ << aPointLonLabel << aPointLatLabel;
- QtxIntSpinBox* aPointXDeg = new QtxIntSpinBox( -180, 180, 1, myTransformGroup );
+ QtxIntSpinBox* aPointXDeg = new QtxIntSpinBox( -179, 179, 1, myTransformGroup );
QtxIntSpinBox* aPointYDeg = new QtxIntSpinBox( 0, 89, 1, myTransformGroup );
QtxIntSpinBox* aPointXMin = new QtxIntSpinBox( 0, 59, 1, myTransformGroup );
QtxIntSpinBox* aPointYMin = new QtxIntSpinBox( 0, 59, 1, myTransformGroup );
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( aPointLonLabel, aRow + 1, 9 );
aTransformLayout->addWidget( aCartPointX, aRow + 1, 3, 1, 6 );
aTransformLayout->addWidget( aRefPointX, aRow + 1, 3, 1, 6 );
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( aPointLatLabel, aRow + 2, 9 );
aTransformLayout->addWidget( aCartPointY, aRow + 2, 3, 1, 6 );
aTransformLayout->addWidget( aRefPointY, aRow + 2, 3, 1, 6 );
myCartPointXMap[ aPointType ]->clear();
myCartPointYMap[ aPointType ]->clear();
}
- myPointCEnabler->setChecked( true );
- myPointCEnabler->toggle();
+
+ // Emulate turning off C point usage
+ myPointCEnabler->blockSignals( true );
+
+ myPointCEnabler->setChecked( false );
+ myPointBtnMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointXMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointYMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointXDegMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointYDegMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointXMinMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointYMinMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointXSecMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myPointYSecMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myCartPointXMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myCartPointYMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myRefPointXMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ myRefPointYMap[ HYDROGUI_PrsImage::PointC ]->setEnabled( false );
+ onSetCIsUsed( false );
+
+ myPointCEnabler->blockSignals( false );
+
myTransformGroup->setEnabled( false );
myRefImage->clear();