Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2021
[modules/geom.git]
/
src
/
AdvancedGUI
/
AdvancedGUI_SmoothingSurfaceDlg.cxx
diff --git
a/src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.cxx
b/src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.cxx
index e51ad791bd0a77503ce3c41163ff420c0587d0a4..d696c665e14cafea3f37a9a83ca5085812aa9ef0 100644
(file)
--- a/
src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.cxx
+++ b/
src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2013-20
15
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-109,7
+109,7
@@
AdvancedGUI_SmoothingSurfaceDlg::~AdvancedGUI_SmoothingSurfaceDlg()
void AdvancedGUI_SmoothingSurfaceDlg::Init()
{
// Get setting of step value from file configuration
void AdvancedGUI_SmoothingSurfaceDlg::Init()
{
// Get setting of step value from file configuration
- SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+
//
SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
initSpinBox(myDMaxSpin, 0., COORD_MAX, 0.00001, "parametric_precision" );
initSpinBox(myDMaxSpin, 0., COORD_MAX, 0.00001, "parametric_precision" );
@@
-120,7
+120,7
@@
void AdvancedGUI_SmoothingSurfaceDlg::Init()
showOnlyPreviewControl();
globalSelection();
showOnlyPreviewControl();
globalSelection();
- localSelection(
GEOM::GEOM_Object::_nil(),
TopAbs_VERTEX );
+ localSelection( TopAbs_VERTEX );
//@@ initialize dialog box widgets here @@//
// Signal/slot connections
//@@ initialize dialog box widgets here @@//
// Signal/slot connections
@@
-163,7
+163,7
@@
bool AdvancedGUI_SmoothingSurfaceDlg::ClickOnApply()
initName();
globalSelection();
initName();
globalSelection();
- localSelection(
GEOM::GEOM_Object::_nil(),
TopAbs_VERTEX );
+ localSelection( TopAbs_VERTEX );
return true;
}
return true;
}
@@
-175,7
+175,7
@@
void AdvancedGUI_SmoothingSurfaceDlg::ActivateThisDialog()
{
GEOMBase_Skeleton::ActivateThisDialog();
globalSelection();
{
GEOMBase_Skeleton::ActivateThisDialog();
globalSelection();
- localSelection(
GEOM::GEOM_Object::_nil(),
TopAbs_VERTEX );
+ localSelection( TopAbs_VERTEX );
//displayPreview();
}
//displayPreview();
}
@@
-195,7
+195,7
@@
void AdvancedGUI_SmoothingSurfaceDlg::enterEvent (QEvent*)
//=================================================================================
GEOM::GEOM_IOperations_ptr AdvancedGUI_SmoothingSurfaceDlg::createOperation()
{
//=================================================================================
GEOM::GEOM_IOperations_ptr AdvancedGUI_SmoothingSurfaceDlg::createOperation()
{
- return getGeomEngine()->GetPluginOperations(
getStudyId(),
"AdvancedEngine");
+ return getGeomEngine()->GetPluginOperations("AdvancedEngine");
}
//=================================================================================
}
//=================================================================================
@@
-245,7
+245,7
@@
bool AdvancedGUI_SmoothingSurfaceDlg::execute (ObjectList& objects)
{
QStringList aParameters;
//@@ put stringified input parameters to the string list here to store in the data model for notebook @@//
{
QStringList aParameters;
//@@ put stringified input parameters to the string list here to store in the data model for notebook @@//
- if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").to
Latin1
().constData());
+ if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").to
Utf8
().constData());
}
if (res)
}
if (res)
@@
-363,6
+363,6
@@
void AdvancedGUI_SmoothingSurfaceDlg::SetEditCurrentArgument()
myEditCurrentArgument = GroupPoints->LineEdit1;
myEditCurrentArgument->setFocus();
globalSelection();
myEditCurrentArgument = GroupPoints->LineEdit1;
myEditCurrentArgument->setFocus();
globalSelection();
- localSelection(
GEOM::GEOM_Object::_nil(),
TopAbs_VERTEX );
+ localSelection( TopAbs_VERTEX );
SelectionIntoArgument();
}
SelectionIntoArgument();
}