_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);
// 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");
#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);
namespace BL
{
- class Summary: public QWidget
+ class Summary: public QScrollArea
{
Q_OBJECT
#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);
namespace JM
{
- class ResourceCatalog: public QWidget
+ class ResourceCatalog: public QScrollArea
{
Q_OBJECT