X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARDGUI%2FMonCreateIteration.cxx;fp=src%2FHOMARDGUI%2FMonCreateIteration.cxx;h=ace8e1e6ca60024ce1826de0124221394e1da6ff;hb=b85df1da75f2f27d4a1cb9537ce725b890e87b71;hp=2508d499d8146f0b032e8c10cdeb58453e3b831b;hpb=a635912ce4ca7c2459cb5b6247e94c78696426cd;p=modules%2Fhomard.git diff --git a/src/HOMARDGUI/MonCreateIteration.cxx b/src/HOMARDGUI/MonCreateIteration.cxx index 2508d499..ace8e1e6 100644 --- a/src/HOMARDGUI/MonCreateIteration.cxx +++ b/src/HOMARDGUI/MonCreateIteration.cxx @@ -31,7 +31,6 @@ using namespace std; #include "HomardQtCommun.h" #include - // ----------------------------------------------------------------------------------------------------- MonCreateIteration::MonCreateIteration(QWidget* parent, bool modal, HOMARD::HOMARD_Gen_var myHomardGen, QString IterParentName ): @@ -60,7 +59,6 @@ MonCreateIteration::MonCreateIteration(QWidget* parent, bool modal, {setModal(false); /* permet selection de l iteration dans l arbre d etude */} SetTSNo(); } - // ------------------------------------------------------------------------ MonCreateIteration::~MonCreateIteration() // ------------------------------------------------------------------------ @@ -94,7 +92,6 @@ void MonCreateIteration::GetHypotheses() CBHypothese->addItem(QString(mesHypotheses[i])); } } - // ------------------------------------------------------------------------ bool MonCreateIteration::PushOnApply() // ------------------------------------------------------------------------ @@ -162,7 +159,6 @@ bool MonCreateIteration::PushOnApply() return false; } } - // Mise en place des attributs const char* IterName = aIter->GetName() ; std::cerr << IterName << std::endl; @@ -183,7 +179,6 @@ bool MonCreateIteration::PushOnApply() return true; } - // ------------------------------------------------------------------------ void MonCreateIteration::PushOnOK() // ------------------------------------------------------------------------ @@ -191,14 +186,12 @@ void MonCreateIteration::PushOnOK() bool bOK = PushOnApply(); if ( bOK ) this->close(); } - // ------------------------------------------------------------------------ void MonCreateIteration::PushOnHelp() // ------------------------------------------------------------------------ { HOMARD_UTILS::PushOnHelp(QString("gui_create_iteration.html")); } - // ------------------------------------------------------------------------ void MonCreateIteration::SetIterParentName() // ------------------------------------------------------------------------ @@ -217,7 +210,6 @@ void MonCreateIteration::SetIterParentName() LEIterationParentName->setText(_IterParentName); } - // ------------------------------------------------- void MonCreateIteration::SetNewIterationName() // -------------------------------------------------- @@ -243,8 +235,6 @@ void MonCreateIteration::SetNewIterationName() } LEIterationName->setText(aIterationName); } - - // ------------------------------------------------------------------------ void MonCreateIteration::PushHypoEdit() // ------------------------------------------------------------------------ @@ -282,18 +272,16 @@ void MonCreateIteration::PushHypoNew() } if ( _CaseName == QString("")) { - HOMARD::HOMARD_Iteration_var aIterParent = _myHomardGen->GetIteration(_IterParentName.toStdString().c_str()) ; - _CaseName = aIterParent->GetCaseName(); + HOMARD::HOMARD_Iteration_var aIterParent = _myHomardGen->GetIteration(_IterParentName.toStdString().c_str()) ; + _CaseName = aIterParent->GetCaseName(); } QString aFieldFile=LEFieldFile->text().trimmed(); MonCreateHypothesis *HypoDlg = new MonCreateHypothesis(this,TRUE,HOMARD::HOMARD_Gen::_duplicate(_myHomardGen),QString(""),_CaseName, aFieldFile) ; HypoDlg->show(); } - // ------------------------------------------------------------------------ void MonCreateIteration::SetFieldFile() // ------------------------------------------------------------------------ - { QString fileName0 = LEFieldFile->text().trimmed(); QString fileName = HOMARD_QT_COMMUN::PushNomFichier(false);