mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 02:10:36 +05:00
DCQ : Debug Selection filter
This commit is contained in:
parent
3682ccd3a6
commit
9c483772d1
@ -87,7 +87,7 @@ void BuildGUI_ShellDlg::Init()
|
|||||||
myEditCurrentArgument = GroupShell->LineEdit1;
|
myEditCurrentArgument = GroupShell->LineEdit1;
|
||||||
myOkListShapes = false;
|
myOkListShapes = false;
|
||||||
|
|
||||||
myFaceFilter = new GEOM_FaceFilter(StdSelect_Plane, myGeom);
|
myFaceFilter = new GEOM_ShapeTypeFilter(TopAbs_FACE, myGeom);
|
||||||
/* Filter for the next selection */
|
/* Filter for the next selection */
|
||||||
mySelection->AddFilter(myFaceFilter) ;
|
mySelection->AddFilter(myFaceFilter) ;
|
||||||
|
|
||||||
@ -163,10 +163,8 @@ void BuildGUI_ShellDlg::SelectionIntoArgument()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void BuildGUI_ShellDlg::SetEditCurrentArgument()
|
void BuildGUI_ShellDlg::SetEditCurrentArgument()
|
||||||
{
|
{
|
||||||
QPushButton* send = (QPushButton*)sender();
|
|
||||||
mySelection->ClearFilters();
|
mySelection->ClearFilters();
|
||||||
GroupShell->LineEdit1->setFocus();
|
GroupShell->LineEdit1->setFocus();
|
||||||
myEditCurrentArgument = GroupShell->LineEdit1;
|
|
||||||
mySelection->AddFilter(myFaceFilter);
|
mySelection->AddFilter(myFaceFilter);
|
||||||
this->SelectionIntoArgument();
|
this->SelectionIntoArgument();
|
||||||
return;
|
return;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#include "BuildGUI.h"
|
#include "BuildGUI.h"
|
||||||
|
|
||||||
#include "GEOM_FaceFilter.hxx"
|
#include "GEOM_ShapeTypeFilter.hxx"
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
// class : BuildGUI_ShellDlg
|
// class : BuildGUI_ShellDlg
|
||||||
@ -54,7 +54,7 @@ private:
|
|||||||
|
|
||||||
BuildGUI* myBuildGUI;
|
BuildGUI* myBuildGUI;
|
||||||
|
|
||||||
Handle(GEOM_FaceFilter) myFaceFilter; /* Filters selection */
|
Handle(GEOM_ShapeTypeFilter) myFaceFilter; /* Filters selection */
|
||||||
GEOM::GEOM_Gen::ListOfIOR myListShapes;
|
GEOM::GEOM_Gen::ListOfIOR myListShapes;
|
||||||
bool myOkListShapes; /* to check when arguments is defined */
|
bool myOkListShapes; /* to check when arguments is defined */
|
||||||
|
|
||||||
@ -64,7 +64,6 @@ private slots:
|
|||||||
void ClickOnOk();
|
void ClickOnOk();
|
||||||
void ClickOnApply();
|
void ClickOnApply();
|
||||||
void SetEditCurrentArgument();
|
void SetEditCurrentArgument();
|
||||||
void LineEditReturnPressed();
|
|
||||||
void SelectionIntoArgument();
|
void SelectionIntoArgument();
|
||||||
void ActivateThisDialog();
|
void ActivateThisDialog();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user