X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARDGUI%2FMonEditBoundaryDi.cxx;h=b9082ef679b4d2b1437ff82e9fe422644dc0d285;hb=refs%2Ftags%2FV9_13_0b1;hp=7f0c34518eff8ef754ddceee7ef05ba1030699e7;hpb=75b5a5de646773e5a51d9986c36ec6e72ce31f87;p=modules%2Fhomard.git diff --git a/src/HOMARDGUI/MonEditBoundaryDi.cxx b/src/HOMARDGUI/MonEditBoundaryDi.cxx index 7f0c3451..b9082ef6 100644 --- a/src/HOMARDGUI/MonEditBoundaryDi.cxx +++ b/src/HOMARDGUI/MonEditBoundaryDi.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2011-2013 CEA/DEN, EDF R&D +// Copyright (C) 2011-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,8 +17,6 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -using namespace std; - #include "MonEditBoundaryDi.h" #include "MonEditListGroup.h" @@ -29,6 +27,7 @@ using namespace std; #include "HomardQtCommun.h" #include +using namespace std; // ------------------------------------------------------------------------------------------------------------------------------------- MonEditBoundaryDi::MonEditBoundaryDi( MonCreateCase* parent, bool modal, @@ -65,7 +64,6 @@ MonEditBoundaryDi::~MonEditBoundaryDi() // ------------------------------ { } - // ------------------------------ void MonEditBoundaryDi::InitValEdit() // ------------------------------ @@ -73,10 +71,11 @@ void MonEditBoundaryDi::InitValEdit() LEName->setText(_aName); LEName->setReadOnly(true); - QString aMeshFile = aBoundary->GetMeshFile(); - LEFileName->setText(aMeshFile); + QString aDataFile = aBoundary->GetDataFile(); + LEFileName->setText(aDataFile); LEFileName->setReadOnly(1); PushFichier->setVisible(0); +// adjustSize(); } // ------------------------------ @@ -99,7 +98,7 @@ void MonEditBoundaryDi::SetFiltrage() HOMARD::HOMARD_Cas_var monCas= myHomardGen->GetCase(_aCaseName.toStdString().c_str()); HOMARD::ListGroupType_var _listeGroupesCas = monCas->GetGroups(); - MonEditListGroup *aDlg = new MonEditListGroup(NULL,this, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), + MonEditListGroup *aDlg = new MonEditListGroup(NULL, this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, _listeGroupesBoundary) ; aDlg->show(); }