myViewButtonGroup->addButton( myViewGroup->RadioButton2, YZ ); // Front View
myViewButtonGroup->addButton( myViewGroup->RadioButton3, XZ ); // Left View
+ myViewGroup->hide();
+
mySelectionGroup = new QGroupBox(tr("GEOM_DETECT"), centralWidget());
QGridLayout* mySelectGrpLayout = new QGridLayout(mySelectionGroup);
myPushButton = new QPushButton(mySelectionGroup);
myConstructorId = 0;
myPushButton1->setDown(true);
+ mySelButton->click();
+ mySelButton->setDown(true);
+
+// SetEditCurrentArgument();
+ SelectionIntoArgument();
+
myX2->setEnabled(false);
myY2->setEnabled(false);
myZ2->setEnabled(false);
myEditCurrentArgument = myLineEdit;
myLineEdit->setEnabled(true);
}
+ else
+ myLineEdit->setEnabled(false);
send->setDown(true);
}
//=================================================================================
void EntityGUI_FeatureDetectorDlg::SelectionIntoArgument()
{
+ if (!myEditCurrentArgument->isEnabled())
+ return;
+
myEditCurrentArgument->setText( "" );
LightApp_SelectionMgr* aSelMgr = myGeomGUI->getApp()->selectionMgr();