-// Copyright (C) 2011-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2011-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
CBOutputLevel->setChecked(false);
CBOutputQuality->setChecked(false);
CBOutputDiameter->setChecked(false);
-// CBOutputParent->setChecked(false);
+ CBOutputParent->setChecked(false);
+ CBOutputVoisins->setChecked(false);
_ExtraOutput = 1 ;
//
adjustSize();
connect( CBJump, SIGNAL(stateChanged(int)), this, SLOT(SetUseField()));
connect( PBZoneNew, SIGNAL(pressed()), this, SLOT(PushZoneNew()));
connect( PBZoneEdit, SIGNAL(pressed()), this, SLOT(PushZoneEdit()) );
- connect( PBZoneDelete, SIGNAL(pressed()), this, SLOT(PushZoneDelete()) );
connect( CBGroupe, SIGNAL(stateChanged(int)), this, SLOT(SetFiltrage()));
connect( RBFieldNo, SIGNAL(clicked()), this, SLOT(SetFieldNo()));
aHypothesis->SetAdapInit(_AdapInit);
// Sortie optionnelle des niveaux de raffinement, des diametres, des qualites
_ExtraOutput = 1 ;
- if (CBOutputLevel->isChecked()) { _ExtraOutput = 2 ; }
- if (CBOutputQuality->isChecked()) { _ExtraOutput = 3*_ExtraOutput ; }
- if (CBOutputDiameter->isChecked()) { _ExtraOutput = 5*_ExtraOutput ; }
-// if (CBOutputParent->isChecked()) { _ExtraOutput = 7*_ExtraOutput ; }
+ if (CBOutputLevel->isChecked()) { _ExtraOutput = 2 ; }
+ if (CBOutputQuality->isChecked()) { _ExtraOutput = 3*_ExtraOutput ; }
+ if (CBOutputDiameter->isChecked()) { _ExtraOutput = 5*_ExtraOutput ; }
+ if (CBOutputParent->isChecked()) { _ExtraOutput = 7*_ExtraOutput ; }
+ if (CBOutputVoisins->isChecked()) { _ExtraOutput = 11*_ExtraOutput ; }
aHypothesis->SetExtraOutput(_ExtraOutput);
}
MonEditZone *aDlg = new MonEditZone(this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, zoneName) ;
aDlg->show();
}
-// ------------------------------------------------------------------------
-void MonCreateHypothesis::PushZoneDelete()
-// ------------------------------------------------------------------------
-{
- MESSAGE("Debut de MonCreateHypothesis::PushZoneDelete")
- QMessageBox::warning( 0, QObject::tr("HOM_WARNING"),
- QObject::tr("HOM_INACTIVE_BUTTON") );
- return;
-}
// ------------------------------------------------------------------------
void MonCreateHypothesis::GetAllZones()
CBOutputLevel->setChecked(false);
CBOutputQuality->setChecked(false);
CBOutputDiameter->setChecked(false);
-// CBOutputParent->setChecked(false);
+ CBOutputParent->setChecked(false);
+ CBOutputVoisins->setChecked(false);
_ExtraOutput = 1 ;
}
//