From: Ovidiu Mircescu Date: Tue, 23 Jan 2018 15:45:40 +0000 (+0100) Subject: Add preprocessing command to summary. X-Git-Tag: V8_5_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75e24918f54d239b7c0d3da784a854d9beaba534;p=modules%2Fjobmanager.git Add preprocessing command to summary. --- diff --git a/src/genericgui/BL_JobTab.cxx b/src/genericgui/BL_JobTab.cxx index ae31c58..ffc9ed6 100644 --- a/src/genericgui/BL_JobTab.cxx +++ b/src/genericgui/BL_JobTab.cxx @@ -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) diff --git a/src/genericgui/BL_JobTab.hxx b/src/genericgui/BL_JobTab.hxx index 87a4ce5..02cd4fd 100644 --- a/src/genericgui/BL_JobTab.hxx +++ b/src/genericgui/BL_JobTab.hxx @@ -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;