- case 0:
- {
- //globalSelection( GEOM_PLANE );
- TColStd_MapOfInteger aMap;
- aMap.Add( GEOM_PLANE );
- aMap.Add( GEOM_MARKER );
- globalSelection( aMap );
-
- ::qobject_cast<QWidget*>( Group2->gridLayout->parent() )->hide();
- ::qobject_cast<QWidget*>( Group3->gridLayout->parent() )->hide();
- resize(0, 0);
- ::qobject_cast<QWidget*>( Group1->gridLayout->parent() )->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 );
-
- ::qobject_cast<QWidget*>( Group1->gridLayout->parent() )->hide();
- ::qobject_cast<QWidget*>( Group3->gridLayout->parent() )->hide();
- resize(0, 0);
- ::qobject_cast<QWidget*>( Group2->gridLayout->parent() )->show();
-
- myEditCurrentArgument = Group2->LineEdit1;
- Group2->LineEdit1->setText("");
- Group2->LineEdit2->setText("");
- myVectX = GEOM::GEOM_Object::_nil();
- myVectZ = GEOM::GEOM_Object::_nil();
+ //globalSelection( GEOM_PLANE );
+ TColStd_MapOfInteger aMap;
+ aMap.Add( GEOM_PLANE );
+ aMap.Add( GEOM_MARKER );
+ globalSelection( aMap );
+
+ Group2->hide();
+ Group3->hide();
+ Group1->show();
+
+ myEditCurrentArgument = Group1->LineEdit1;
+ Group1->LineEdit1->setText( "" );
+ myFace = GEOM::GEOM_Object::_nil();