]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
Add preprocessing command to summary.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 23 Jan 2018 15:45:40 +0000 (16:45 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 23 Jan 2018 15:45:40 +0000 (16:45 +0100)
src/genericgui/BL_JobTab.cxx
src/genericgui/BL_JobTab.hxx

index ae31c58f9723ab1746965860094071532137caac..ffc9ed6c2bc7054c1a6cf512d5865b66a96a2d32 100644 (file)
@@ -80,6 +80,8 @@ BL::JobTab::createJobSummaryTab()
   _job_jobfile_label_value = new QLabel("");
   QLabel * job_envfile_label = new QLabel("Env File:");
   _job_envfile_label_value = new QLabel("");
+  QLabel * job_prefile_label = new QLabel("Preprocessing File:");
+  _job_prefile_label_value = new QLabel("");
 
 
   // Specific values
@@ -95,6 +97,7 @@ BL::JobTab::createJobSummaryTab()
   _main_values_form->insertRow(4, job_resource_label, _job_resource_label_value);
   _main_values_form->insertRow(5, job_jobfile_label, _job_jobfile_label_value);
   _main_values_form->insertRow(6, job_envfile_label, _job_envfile_label_value);
+  _main_values_form->insertRow(7, job_prefile_label, _job_prefile_label_value);
   main_values_box->setLayout(_main_values_form);
 
   QLabel * job_nif_label = new QLabel("Number of Input Files:");
@@ -229,6 +232,7 @@ BL::JobTab::job_selected(const QModelIndex & index)
     _job_launcher_label_value->setText(QVariant(job->getSalomeLauncherId()).toString());
     _job_jobfile_label_value->setText(QString::fromUtf8(job->getJobFile().c_str()));
     _job_envfile_label_value->setText(QString::fromUtf8(job->getEnvFile().c_str()));
+    _job_prefile_label_value->setText(QString::fromUtf8(job->getPreCommand().c_str()));
     if (job->getType() == BL::Job::YACS_SCHEMA)
       _job_type_label_value->setText("YACS_Schema");
     else if (job->getType() == BL::Job::COMMAND)
index 87a4ce58a68ed23d4f7c247893db6dc5ba436f4d..02cd4fd07b21ee1a65cd26c5224d6cc7b5d700b7 100644 (file)
@@ -68,6 +68,7 @@ namespace BL
       QLabel * _job_resource_label_value;
       QLabel * _job_jobfile_label_value;
       QLabel * _job_envfile_label_value;
+      QLabel * _job_prefile_label_value;
 
       // Run Values
       QFormLayout * _run_values_form;