35 using namespace YACS::HMI;
36 using namespace YACS::ENGINE;
38 EditionProc::EditionProc(
Subject* subject,
43 DEBTRACE(
"EditionProc::EditionProc");
51 QHBoxLayout* hbox =
new QHBoxLayout();
52 QLabel* la =
new QLabel(
"Shutdown level:",
this);
62 cb->setCurrentIndex(level);
63 connect(cb, SIGNAL(currentIndexChanged(
int)),
this, SLOT(
onLevelChange(
int)));
66 _wid->gridLayout1->addLayout(hbox,4,0);
72 DEBTRACE(
"EditionProc::~EditionProc");
79 string statusLog =
"";
86 _modifLog =
"--- some elements are modified and not taken into account. Confirmation or annulation required ---\n";
108 DEBTRACE(
"EditionProc::synchronize");
111 string statusLog =
"";
117 _errorLog =
"--- YACS schema is not valid ---\n\n";
124 LinkInfo info(LinkInfo::ALL_DONT_STOP);
133 _errorLog +=
"--- No Validity Errors ---\n";
134 _errorLog +=
"--- No Consistency Errors ---\n";
139 _errorLog =
"--- YACS schema has consistency errors ---\n\n";
148 _errorLog +=
"--- Original file import log ---\n";
157 DEBTRACE(
"EditionProc::onLevelChange " << index);