]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
- JobManager handle low resolution V5_1_4a1
authorribes <ribes>
Thu, 4 Feb 2010 16:51:54 +0000 (16:51 +0000)
committerribes <ribes>
Thu, 4 Feb 2010 16:51:54 +0000 (16:51 +0000)
src/genericgui/BL_GenericGui.cxx
src/genericgui/BL_JobsManager_QT.cxx
src/genericgui/BL_Summary.cxx
src/genericgui/BL_Summary.hxx
src/genericgui/JM_ResourceCatalog.cxx
src/genericgui/JM_ResourceCatalog.hxx

index 888b84b00521f9a67e52c60a9a393bb147c8aaa2..253b4b1b43c3c7a17e36ce8e23a8c857a57d6f44 100644 (file)
@@ -59,7 +59,8 @@ BL::GenericGui::GenericGui(BL::MainWindows_Wrap * wrapper) : QObject(wrapper->ge
   _job_tab->setModel(_model);
 
   /* Tab Central Widget */
-  QWidget * central_widget = new QWidget(_tab_parent);
+  //QWidget * central_widget = new QWidget(_tab_parent);
+  QScrollArea * central_widget = new QScrollArea(_tab_parent);
 
   QSplitter * tab_central_widget = new QSplitter(Qt::Vertical, central_widget);
   tab_central_widget->addWidget(_jobs_table);
index 5e75ecb409e4cab5766c06a4cd55abd71ca7abcc..ff2c24505524eb3e891cd967ef1e31075b3a3608 100644 (file)
@@ -42,7 +42,7 @@ BL::JobsManager_QT::JobsManager_QT(QWidget * parent, BL::GenericGui * main_gui,
 
   // Widget Part
 
-  QWidget * main_widget = new QWidget(this);
+  QScrollArea * main_widget = new QScrollArea(this);
 
   _load_jobs = new QPushButton("Load Jobs");
   _save_jobs = new QPushButton("Save Jobs");
index 4cb67fc6b9c429cde72e5bf6b81f6e8c4f24fd8f..5e565cf8f666fa9ba9b00b19dfce738be897d3f2 100644 (file)
@@ -20,7 +20,7 @@
 #include "BL_Summary.hxx"
 #include "BL_Traces.hxx"
 
-BL::Summary::Summary(QWidget *parent, BL::JobsManager_QT * jobs_manager) : QWidget(parent)
+BL::Summary::Summary(QWidget *parent, BL::JobsManager_QT * jobs_manager) : QScrollArea(parent)
 {
   DEBTRACE("Creating BL::Summary");
   BL_ASSERT(parent);
index b972388f51afeed56f77dd077dea36ebf84e1528..f066bdf86b3493389476ecc652c4442bb0c60f6d 100644 (file)
@@ -25,7 +25,7 @@
 
 namespace BL 
 {
-  class Summary: public QWidget
+  class Summary: public QScrollArea
   {
     Q_OBJECT
 
index 134f3688521ee651e43f6c0677ee6f0492e288f6..0ce262d67c6c6b99db79d60e4b596ed2ccb2be8b 100644 (file)
@@ -22,7 +22,7 @@
 #include "JM_SalomeResource.hxx"
 #include "JM_EditSalomeResource.hxx"
 
-JM::ResourceCatalog::ResourceCatalog(QWidget *parent, BL::SALOMEServices * salome_services) : QWidget(parent)
+JM::ResourceCatalog::ResourceCatalog(QWidget *parent, BL::SALOMEServices * salome_services) : QScrollArea(parent)
 {
   DEBTRACE("Creating JM::ResourceCatalog");
   BL_ASSERT(parent);
index e05109750e4776117b044393ac0925d072a269b9..ba486da2f1218d12a0715d4ea8ab5d9b9c2fca2e 100644 (file)
@@ -29,7 +29,7 @@
 
 namespace JM 
 {
-  class ResourceCatalog: public QWidget
+  class ResourceCatalog: public QScrollArea
   {
     Q_OBJECT