Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright notes (for 2010)
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_RemoveNodesDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx
b/src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx
index c511dbae41d20d6d61ec95a75780a0078ba2e4a1..fc6c78a30a846a8e898f4e5a681881b3368a900c 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
08
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
10
CEA/DEN, EDF R&D, 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
@@
-19,6
+19,7
@@
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// SMESH SMESHGUI : GUI for SMESH component
// File : SMESHGUI_RemoveNodesDlg.cxx
// Author : Nicolas REJNERI, Open CASCADE S.A.S.
// SMESH SMESHGUI : GUI for SMESH component
// File : SMESHGUI_RemoveNodesDlg.cxx
// Author : Nicolas REJNERI, Open CASCADE S.A.S.
@@
-204,7
+205,7
@@
void SMESHGUI_RemoveNodesDlg::Init()
/* to close dialog if study change */
connect(mySMESHGUI, SIGNAL (SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
connect(myEditCurrentArgument, SIGNAL(textChanged(const QString&)),
/* to close dialog if study change */
connect(mySMESHGUI, SIGNAL (SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
connect(myEditCurrentArgument, SIGNAL(textChanged(const QString&)),
- SLOT(onTextChange(const QString&)));
+
SLOT(onTextChange(const QString&)));
SMESH::SetPointRepresentation(true);
SMESH::SetPointRepresentation(true);
@@
-297,10
+298,10
@@
void SMESHGUI_RemoveNodesDlg::ClickOnHelp()
platform = "application";
#endif
SUIT_MessageBox::warning(this, tr("WRN_WARNING"),
platform = "application";
#endif
SUIT_MessageBox::warning(this, tr("WRN_WARNING"),
- tr("EXTERNAL_BROWSER_CANNOT_SHOW_PAGE").
- arg(app->resourceMgr()->stringValue("ExternalBrowser",
- platform)).
- arg(myHelpFileName));
+
tr("EXTERNAL_BROWSER_CANNOT_SHOW_PAGE").
+
arg(app->resourceMgr()->stringValue("ExternalBrowser",
+
platform)).
+
arg(myHelpFileName));
}
}
}
}
@@
-327,15
+328,15
@@
void SMESHGUI_RemoveNodesDlg::onTextChange(const QString& theNewText)
QStringList aListId = theNewText.split(" ", QString::SkipEmptyParts);
for (int i = 0; i < aListId.count(); i++) {
QStringList aListId = theNewText.split(" ", QString::SkipEmptyParts);
for (int i = 0; i < aListId.count(); i++) {
- if (const SMDS_MeshNode *aNode = aMesh->FindNode(aListId[i].toInt())) {
- newIndices.Add(aNode->GetID());
- myNbOkNodes++;
- }
+
if (const SMDS_MeshNode *aNode = aMesh->FindNode(aListId[i].toInt())) {
+
newIndices.Add(aNode->GetID());
+
myNbOkNodes++;
+
}
}
mySelector->AddOrRemoveIndex(anIO,newIndices,false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
}
mySelector->AddOrRemoveIndex(anIO,newIndices,false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
- aViewWindow->highlight(anIO,true,true);
+
aViewWindow->highlight(anIO,true,true);
}
}
}
}
@@
-416,8
+417,8
@@
void SMESHGUI_RemoveNodesDlg::SetEditCurrentArgument()
case 0: /* default constructor */
{
if(send == SelectButtonC1A1) {
case 0: /* default constructor */
{
if(send == SelectButtonC1A1) {
- LineEditC1A1->setFocus();
- myEditCurrentArgument = LineEditC1A1;
+
LineEditC1A1->setFocus();
+
myEditCurrentArgument = LineEditC1A1;
}
SelectionIntoArgument();
break;
}
SelectionIntoArgument();
break;
@@
-516,8
+517,8
@@
void SMESHGUI_RemoveNodesDlg::setFilters()
{
if(myMesh->_is_nil()) {
SUIT_MessageBox::critical(this,
{
if(myMesh->_is_nil()) {
SUIT_MessageBox::critical(this,
- tr("SMESH_ERROR"),
- tr("NO_MESH_SELECTED"));
+
tr("SMESH_ERROR"),
+
tr("NO_MESH_SELECTED"));
return;
}
if ( !myFilterDlg )
return;
}
if ( !myFilterDlg )