1 // Copyright (C) 2009 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef _BL_JOBTAB_HXX_
21 #define _BL_JOBTAB_HXX_
25 #include "BL_JobsManager_QT.hxx"
29 class JobTab: public QTabWidget
34 JobTab(QWidget *parent, BL::JobsManager_QT * jobs_manager);
37 void setModel(QStandardItemModel * model);
39 void createJobSummaryTab();
40 void createJobFilesTab();
43 void job_selected(const QModelIndex & index);
44 void itemChanged(QStandardItem * item);
45 void reset(QString job_name);
49 QStandardItemModel * _model;
50 BL::JobsManager_QT * _jobs_manager;
52 QWidget * _summary_tab;
54 QLabel * _job_name_label_value;
55 QLabel * _job_type_label_value;
56 QLabel * _job_state_label_value;
57 QLabel * _job_machine_label_value;
58 QLabel * _job_command_label;
59 QLabel * _job_command_label_value;
62 QLabel * _job_nif_label_value;
63 QLabel * _job_nof_label_value;
64 QLabel * _job_bd_label_value;
65 QLabel * _job_rd_label_value;
66 QLabel * _job_edt_label_value;
67 QLabel * _job_em_label_value;
68 QLabel * _job_nop_label_value;
72 QListWidget * _input_files_list;
73 QListWidget * _output_files_list;