myEditCurrentArgument = GroupShell->LineEdit1;
myOkListShapes = false;
- myFaceFilter = new GEOM_FaceFilter(StdSelect_Plane, myGeom);
+ myFaceFilter = new GEOM_ShapeTypeFilter(TopAbs_FACE, myGeom);
/* Filter for the next selection */
mySelection->AddFilter(myFaceFilter) ;
//=================================================================================
void BuildGUI_ShellDlg::SetEditCurrentArgument()
{
- QPushButton* send = (QPushButton*)sender();
- mySelection->ClearFilters() ;
+ mySelection->ClearFilters();
GroupShell->LineEdit1->setFocus();
- myEditCurrentArgument = GroupShell->LineEdit1;
mySelection->AddFilter(myFaceFilter);
this->SelectionIntoArgument();
return;
#include "BuildGUI.h"
-#include "GEOM_FaceFilter.hxx"
+#include "GEOM_ShapeTypeFilter.hxx"
//=================================================================================
// class : BuildGUI_ShellDlg
BuildGUI* myBuildGUI;
- Handle(GEOM_FaceFilter) myFaceFilter; /* Filters selection */
+ Handle(GEOM_ShapeTypeFilter) myFaceFilter; /* Filters selection */
GEOM::GEOM_Gen::ListOfIOR myListShapes;
bool myOkListShapes; /* to check when arguments is defined */
void ClickOnOk();
void ClickOnApply();
void SetEditCurrentArgument();
- void LineEditReturnPressed();
void SelectionIntoArgument();
void ActivateThisDialog();