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
[bos #35160][EDF](2023-T1) Keyboard shortcuts.
[modules/geom.git]
/
src
/
RepairGUI
/
RepairGUI_LimitToleranceDlg.cxx
diff --git
a/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx
b/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx
index 11ae185f2b5d5840fd408daee56e760551575c3b..13a8dc8ff92985878a520fca08505ef9ef98e212 100644
(file)
--- a/
src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx
+++ b/
src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-150,7
+150,7
@@
void RepairGUI_LimitToleranceDlg::Init()
// function : ConstructorsClicked()
// purpose : Radio button management
//=================================================================================
// function : ConstructorsClicked()
// purpose : Radio button management
//=================================================================================
-void RepairGUI_LimitToleranceDlg::ConstructorsClicked(int
constructorId
)
+void RepairGUI_LimitToleranceDlg::ConstructorsClicked(int
/*constructorId*/
)
{
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
{
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
@@
-275,7
+275,7
@@
void RepairGUI_LimitToleranceDlg::enterEvent(QEvent*)
//=================================================================================
GEOM::GEOM_IOperations_ptr RepairGUI_LimitToleranceDlg::createOperation()
{
//=================================================================================
GEOM::GEOM_IOperations_ptr RepairGUI_LimitToleranceDlg::createOperation()
{
- return getGeomEngine()->GetIHealingOperations(
getStudyId()
);
+ return getGeomEngine()->GetIHealingOperations();
}
//=================================================================================
}
//=================================================================================
@@
-304,7
+304,7
@@
bool RepairGUI_LimitToleranceDlg::execute(ObjectList& objects)
if (aResult) {
QStringList aParameters;
aParameters << myTolEdt->text();
if (aResult) {
QStringList aParameters;
aParameters << myTolEdt->text();
- anObj->SetParameters(aParameters.join(":").to
Latin1
().constData());
+ anObj->SetParameters(aParameters.join(":").to
Utf8
().constData());
if ( !IsPreview() )
RepairGUI::ShowStatistics( anOper, this );
objects.push_back(anObj._retn());
if ( !IsPreview() )
RepairGUI::ShowStatistics( anOper, this );
objects.push_back(anObj._retn());
@@
-316,7
+316,7
@@
bool RepairGUI_LimitToleranceDlg::execute(ObjectList& objects)
//================================================================
// Function : onAccept
// Purpose : This method should be called from dialog's slots onOk() and onApply()
//================================================================
// Function : onAccept
// Purpose : This method should be called from dialog's slots onOk() and onApply()
-// It perf
ro
ms user input validation, then it
+// It perf
or
ms user input validation, then it
// performs a proper operation and manages transactions, etc.
//================================================================
bool RepairGUI_LimitToleranceDlg::onAcceptLocal()
// performs a proper operation and manages transactions, etc.
//================================================================
bool RepairGUI_LimitToleranceDlg::onAcceptLocal()
@@
-364,7
+364,7
@@
bool RepairGUI_LimitToleranceDlg::onAcceptLocal()
if (aName.isEmpty())
aName = GEOMBase::GetDefaultName(getPrefix(*it));
}
if (aName.isEmpty())
aName = GEOMBase::GetDefaultName(getPrefix(*it));
}
- addInStudy(*it, aName.to
Latin1
().data());
+ addInStudy(*it, aName.to
Utf8
().data());
display(*it, false);
}
display(*it, false);
}
@@
-433,12
+433,11
@@
void RepairGUI_LimitToleranceDlg::updateButtonState()
// function : restoreSubShapes
// purpose :
//=================================================================================
// function : restoreSubShapes
// purpose :
//=================================================================================
-void RepairGUI_LimitToleranceDlg::restoreSubShapes(SALOMEDS::Study_ptr theStudy,
- SALOMEDS::SObject_ptr theSObject)
+void RepairGUI_LimitToleranceDlg::restoreSubShapes(SALOMEDS::SObject_ptr theSObject)
{
if (mainFrame()->CheckBoxRestoreSS->isChecked()) {
// empty list of arguments means that all arguments should be restored
{
if (mainFrame()->CheckBoxRestoreSS->isChecked()) {
// empty list of arguments means that all arguments should be restored
- getGeomEngine()->RestoreSubShapesSO(theS
tudy, theS
Object, GEOM::ListOfGO(),
+ getGeomEngine()->RestoreSubShapesSO(theSObject, GEOM::ListOfGO(),
GEOM::FSM_GetInPlace, /*theInheritFirstArg=*/true,
mainFrame()->CheckBoxAddPrefix->isChecked());
}
GEOM::FSM_GetInPlace, /*theInheritFirstArg=*/true,
mainFrame()->CheckBoxAddPrefix->isChecked());
}