X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDGUI%2FMEDGUIFileContentDial.cxx;h=7aec5290b638ce866902cbffbefee29a0f2815d4;hb=0db760d7198dd80338bc0feedcc654a2725ffff4;hp=2fe9833924b6cb10f78576b1648acafaa645488b;hpb=ff43ab5bba59622a80e6535b04bf54bfba800698;p=modules%2Fmed.git diff --git a/src/MEDGUI/MEDGUIFileContentDial.cxx b/src/MEDGUI/MEDGUIFileContentDial.cxx old mode 100755 new mode 100644 index 2fe983392..7aec5290b --- a/src/MEDGUI/MEDGUIFileContentDial.cxx +++ b/src/MEDGUI/MEDGUIFileContentDial.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 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 @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// MED MEDGUI : MED component GUI implemetation +// MED MEDGUI : MED component GUI implementation // File : MEDGUIFileContentDial.cxx // Module : MED #include "MEDGUIFileContentDial.h" @@ -49,7 +49,7 @@ // Connect buttons to actions, close statement is already connect in the .ui file // Set QTreeWidgets parameters : header labels, selection mode // Connect QTreeWidget itemClicked signal to meshes and fieldsStateChange -// Put mouse tracking on, so this class received mouse positions informations when mouse is above treewidget +// Put mouse tracking on, so this class received mouse positions information when mouse is above treewidget // Add contextual menu to treewidget's items with the call to selectCompoPopup and selStepPopup // Connect those actions to corresponding signals MEDGUIFileContentDial::MEDGUIFileContentDial(MEDGUIDataBaseDockWidget* db, QWidget* parent): @@ -119,7 +119,7 @@ void MEDGUIFileContentDial::changeEvent(QEvent *e) // Then, after checking if the name already exist // - if yes, try to add "_#" where # begin at 2 // - if not, continue -// Create a new MEDGUILiteStruct with the complet file name and the simplified file name as parameters +// Create a new MEDGUILiteStruct with the complete file name and the simplified file name as parameters // Add items to the two QTreeWidget get information from the new MEDGUILiteStruct void MEDGUIFileContentDial::openFile() { @@ -318,7 +318,7 @@ void MEDGUIFileContentDial::fieldsStateChange(QTreeWidgetItem* qtwi, int col) } } -// Show the selection on standart output using std::cout and str methods from MEDGUILiteStruct +// Show the selection on standard output using std::cout and str methods from MEDGUILiteStruct void MEDGUIFileContentDial::sendSelectionToDB() { std::vector lt2send2db; @@ -358,7 +358,7 @@ void MEDGUIFileContentDial::unselectAll() } // Show in red the corresponding meshes from a field or a step or a field hoovered by mouse -// First clean alrady colored meshes list (color back in black and empty coloredMeshes vector) +// First clean already colored meshes list (color back in black and empty coloredMeshes vector) // Then, get the id of the MEDGUILiteStruct corresponding to the currently hovered item // Get corresponding meshes as string from the currently hovered item // Get the corresponding root of the meshes QTreeWidget from the root of the fields QTreeWidget @@ -438,7 +438,7 @@ void MEDGUIFileContentDial::selStepsPopup(bool checkable) } -// Methode to set all elements of a MEDGUILiteStruct to (un)selected according to a string (such as "all", "none", ...) +// Method to set all elements of a MEDGUILiteStruct to (un)selected according to a string (such as "all", "none", ...) // 3 cases : // - you want to select all time steps of all fields, the selection is made directly // - you want to unselect all time steps of all fields, the unselection is made directly @@ -478,7 +478,7 @@ void MEDGUIFileContentDial::selFromFile(QTreeWidgetItem* qtwi, QString sel) } } -// Methode to set all elements of a MEDGUIField to (un)selected according to a string (such as "all", "none", ...) +// Method to set all elements of a MEDGUIField to (un)selected according to a string (such as "all", "none", ...) // If empty string, no change are made // Else : // First get the file and field id @@ -585,7 +585,7 @@ void MEDGUIFileContentDial::selFromField(QTreeWidgetItem* qtwi, QString sel) } } -// Methode to set all elements of a MEDGUIField when selection is made from a MEDGUIStep to (un)selected according to a string (such as "all", "none", ...) +// Method to set all elements of a MEDGUIField when selection is made from a MEDGUIStep to (un)selected according to a string (such as "all", "none", ...) // Calling it on a step is the same as calling it from is father (the corresponding field) void MEDGUIFileContentDial::selFromStep(QTreeWidgetItem* qtwi,QString sel) {