mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
DCQ : Clean up code
This commit is contained in:
parent
ba4c069a64
commit
590d7d454c
@ -85,9 +85,6 @@ void BooleanGUI_CommonDlg::Init()
|
||||
{
|
||||
/* init variables */
|
||||
myEditCurrentArgument = GroupCommon->LineEdit1;
|
||||
|
||||
myShape1.Nullify();
|
||||
myShape2.Nullify();
|
||||
myOkShape1 = myOkShape2 = false;
|
||||
|
||||
/* signals and slots connections */
|
||||
@ -167,7 +164,6 @@ void BooleanGUI_CommonDlg::SelectionIntoArgument()
|
||||
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape1 = S;
|
||||
GroupCommon->LineEdit1->setText(aString);
|
||||
myOkShape1 = true;
|
||||
}
|
||||
@ -175,7 +171,6 @@ void BooleanGUI_CommonDlg::SelectionIntoArgument()
|
||||
myGeomShape2 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape2 = S;
|
||||
GroupCommon->LineEdit2->setText(aString);
|
||||
myOkShape2 = true;
|
||||
}
|
||||
|
@ -54,8 +54,6 @@ private:
|
||||
|
||||
BooleanGUI* myBooleanGUI;
|
||||
|
||||
TopoDS_Shape myShape1; /* topology used */
|
||||
TopoDS_Shape myShape2; /* topology used */
|
||||
GEOM::GEOM_Shape_var myGeomShape1; /* is myShape1 */
|
||||
GEOM::GEOM_Shape_var myGeomShape2; /* is myShape2 */
|
||||
bool myOkShape1;
|
||||
|
@ -84,9 +84,6 @@ void BooleanGUI_CutDlg::Init()
|
||||
{
|
||||
/* init variables */
|
||||
myEditCurrentArgument = GroupCut->LineEdit1;
|
||||
|
||||
myShape1.Nullify();
|
||||
myShape2.Nullify();
|
||||
myOkShape1 = myOkShape2 = false;
|
||||
|
||||
/* signals and slots connections */
|
||||
@ -166,7 +163,6 @@ void BooleanGUI_CutDlg::SelectionIntoArgument()
|
||||
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape1 = S;
|
||||
GroupCut->LineEdit1->setText(aString);
|
||||
myOkShape1 = true;
|
||||
}
|
||||
@ -174,7 +170,6 @@ void BooleanGUI_CutDlg::SelectionIntoArgument()
|
||||
myGeomShape2 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape2 = S;
|
||||
GroupCut->LineEdit2->setText(aString);
|
||||
myOkShape2 = true;
|
||||
}
|
||||
|
@ -54,8 +54,6 @@ private:
|
||||
|
||||
BooleanGUI* myBooleanGUI;
|
||||
|
||||
TopoDS_Shape myShape1; /* topology used to fuse */
|
||||
TopoDS_Shape myShape2; /* topology used to fuse */
|
||||
GEOM::GEOM_Shape_var myGeomShape1; /* is myShape1 */
|
||||
GEOM::GEOM_Shape_var myGeomShape2; /* is myShape2 */
|
||||
bool myOkShape1; /* to check when arguments are defined */
|
||||
|
@ -84,9 +84,6 @@ void BooleanGUI_FuseDlg::Init()
|
||||
{
|
||||
/* init variables */
|
||||
myEditCurrentArgument = GroupFuse->LineEdit1;
|
||||
|
||||
myShape1.Nullify();
|
||||
myShape2.Nullify();
|
||||
myOkShape1 = myOkShape2 = false;
|
||||
|
||||
/* signals and slots connections */
|
||||
@ -166,7 +163,6 @@ void BooleanGUI_FuseDlg::SelectionIntoArgument()
|
||||
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape1 = S;
|
||||
GroupFuse->LineEdit1->setText(aString);
|
||||
myOkShape1 = true;
|
||||
}
|
||||
@ -174,7 +170,6 @@ void BooleanGUI_FuseDlg::SelectionIntoArgument()
|
||||
myGeomShape2 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape2 = S;
|
||||
GroupFuse->LineEdit2->setText(aString);
|
||||
myOkShape2 = true;
|
||||
}
|
||||
|
@ -54,8 +54,6 @@ private:
|
||||
|
||||
BooleanGUI* myBooleanGUI;
|
||||
|
||||
TopoDS_Shape myShape1; /* topology used to fuse */
|
||||
TopoDS_Shape myShape2; /* topology used to fuse */
|
||||
GEOM::GEOM_Shape_var myGeomShape1; /* is myShape1 */
|
||||
GEOM::GEOM_Shape_var myGeomShape2; /* is myShape2 */
|
||||
bool myOkShape1; /* to check when arguments are defined */
|
||||
|
@ -85,9 +85,6 @@ void BooleanGUI_SectionDlg::Init()
|
||||
{
|
||||
/* init variables */
|
||||
myEditCurrentArgument = GroupSection->LineEdit1;
|
||||
|
||||
myShape1.Nullify();
|
||||
myShape2.Nullify();
|
||||
myOkShape1 = myOkShape2 = false;
|
||||
|
||||
/* signals and slots connections */
|
||||
@ -167,7 +164,6 @@ void BooleanGUI_SectionDlg::SelectionIntoArgument()
|
||||
myGeomShape1 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape1 = S;
|
||||
GroupSection->LineEdit1->setText(aString);
|
||||
myOkShape1 = true;
|
||||
}
|
||||
@ -175,7 +171,6 @@ void BooleanGUI_SectionDlg::SelectionIntoArgument()
|
||||
myGeomShape2 = myGeomBase->ConvertIOinGEOMShape(IO, testResult);
|
||||
if(!testResult)
|
||||
return;
|
||||
myShape2 = S;
|
||||
GroupSection->LineEdit2->setText(aString);
|
||||
myOkShape2 = true;
|
||||
}
|
||||
|
@ -54,8 +54,6 @@ private:
|
||||
|
||||
BooleanGUI* myBooleanGUI;
|
||||
|
||||
TopoDS_Shape myShape1; /* topology used to fuse */
|
||||
TopoDS_Shape myShape2; /* topology used to fuse */
|
||||
GEOM::GEOM_Shape_var myGeomShape1; /* is myShape1 */
|
||||
GEOM::GEOM_Shape_var myGeomShape2; /* is myShape2 */
|
||||
bool myOkShape1; /* to check when arguments are defined */
|
||||
|
Loading…
Reference in New Issue
Block a user