- case 0: /* translation an object by dx, dy, dz */
- {
- GroupPoints->ShowRows(1,2,false);
- resize(0,0);
- GroupPoints->ShowRows(3,5,true);
- break;
- }
- case 1: /* translation an object by 2 points */
- {
- GroupPoints->ShowRows(3,5,false);
- resize(0,0);
- GroupPoints->ShowRows(0,2,true);
- GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("1"));
- GroupPoints->LineEdit2->clear();
- GroupPoints->LineEdit3->clear();
- myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
- break;
- }
- case 2: /* translation an object by vector */
- {
- GroupPoints->ShowRows(2,5,false);
- resize(0,0);
- GroupPoints->ShowRows(0,1,true);
- GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
- GroupPoints->LineEdit2->clear();
- myVector = GEOM::GEOM_Object::_nil();
- break;
- }
+ GroupPoints->ShowRows( 3, 5, false );
+ GroupPoints->ShowRows( 0, 2, true );
+ GroupPoints->TextLabel2->setText( tr( "GEOM_POINT_I" ).arg( 1 ) );
+ GroupPoints->LineEdit2->clear();
+ GroupPoints->LineEdit3->clear();
+ myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
+ break;
+ }
+ case 2: /* translation an object by vector */
+ {
+ GroupPoints->ShowRows( 2, 5, false );
+ GroupPoints->ShowRows( 0, 1, true );
+ GroupPoints->TextLabel2->setText( tr( "GEOM_VECTOR" ) );
+ GroupPoints->LineEdit2->clear();
+ myVector = GEOM::GEOM_Object::_nil();
+ break;