#include "HomardQtCommun.h"
#include <utilities.h>
-
// -----------------------------------------------------------------------------------------------------
MonCreateIteration::MonCreateIteration(QWidget* parent, bool modal,
HOMARD::HOMARD_Gen_var myHomardGen, QString IterParentName ):
{setModal(false); /* permet selection de l iteration dans l arbre d etude */}
SetTSNo();
}
-
// ------------------------------------------------------------------------
MonCreateIteration::~MonCreateIteration()
// ------------------------------------------------------------------------
CBHypothese->addItem(QString(mesHypotheses[i]));
}
}
-
// ------------------------------------------------------------------------
bool MonCreateIteration::PushOnApply()
// ------------------------------------------------------------------------
return false;
}
}
-
// Mise en place des attributs
const char* IterName = aIter->GetName() ;
std::cerr << IterName << std::endl;
return true;
}
-
// ------------------------------------------------------------------------
void MonCreateIteration::PushOnOK()
// ------------------------------------------------------------------------
bool bOK = PushOnApply();
if ( bOK ) this->close();
}
-
// ------------------------------------------------------------------------
void MonCreateIteration::PushOnHelp()
// ------------------------------------------------------------------------
{
HOMARD_UTILS::PushOnHelp(QString("gui_create_iteration.html"));
}
-
// ------------------------------------------------------------------------
void MonCreateIteration::SetIterParentName()
// ------------------------------------------------------------------------
LEIterationParentName->setText(_IterParentName);
}
-
// -------------------------------------------------
void MonCreateIteration::SetNewIterationName()
// --------------------------------------------------
}
LEIterationName->setText(aIterationName);
}
-
-
// ------------------------------------------------------------------------
void MonCreateIteration::PushHypoEdit()
// ------------------------------------------------------------------------
}
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);