- case 0:
- {
- //globalSelection( GEOM_PLANE );
- TColStd_MapOfInteger aMap;
- aMap.Add( GEOM_PLANE );
- aMap.Add( GEOM_MARKER );
- globalSelection( aMap );
-
- Group2->hide();
- Group3->hide();
- resize(0, 0);
- Group1->show();
-
- myEditCurrentArgument = Group1->LineEdit1;
- Group1->LineEdit1->setText("");
- myFace = GEOM::GEOM_Object::_nil();
-
- connect(aSelMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
- break;
- }
- case 1:
- {
- //globalSelection( GEOM_LINE );
- GEOM::GEOM_Object_var anObj;
- localSelection( anObj, TopAbs_EDGE );
-
- Group1->hide();
- Group3->hide();
- resize(0, 0);
- Group2->show();
-
- myEditCurrentArgument = Group2->LineEdit1;
- Group2->LineEdit1->setText("");
- Group2->LineEdit2->setText("");
- myVectX = GEOM::GEOM_Object::_nil();
- myVectZ = GEOM::GEOM_Object::_nil();
+ TColStd_MapOfInteger aMap;
+ aMap.Add( GEOM_PLANE );
+ aMap.Add( GEOM_MARKER );
+ globalSelection( aMap );
+ Group2->hide();
+ Group3->hide();
+ Group1->show();
+ Group1->PushButton1->setDown(true);
+ myEditCurrentArgument = Group1->LineEdit1;
+ Group1->LineEdit1->setText( "" );
+ myFace = GEOM::GEOM_Object::_nil();