From: vsr Date: Tue, 12 Aug 2014 11:32:52 +0000 (+0400) Subject: 0022614: [CEA 1146] SalomePyQt python API tabifyDockWidgets and findDockByWT X-Git-Tag: V7_5_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0c40ed64d23ce57f25197b70564e9512d8e6f2e;p=modules%2Fjobmanager.git 0022614: [CEA 1146] SalomePyQt python API tabifyDockWidgets and findDockByWT Unify object names of dock widgets --- diff --git a/src/genericgui/BL_GenericGui.cxx b/src/genericgui/BL_GenericGui.cxx index fe4fd31..fbf3d01 100644 --- a/src/genericgui/BL_GenericGui.cxx +++ b/src/genericgui/BL_GenericGui.cxx @@ -54,7 +54,7 @@ BL::GenericGui::createDockWidgets() /* Summary */ _dw_summary = new QDockWidget(_dock_parent); _dw_summary->setWindowTitle("Summary"); - _dw_summary->setObjectName("SummaryDockWidget"); + _dw_summary->setObjectName("jmSummaryDock"); _summary = new BL::Summary(_dw_summary, _jobs_manager); _summary->setModel(_model); QScrollArea * scroll_widget_summary = new QScrollArea(_dw_summary); @@ -65,7 +65,7 @@ BL::GenericGui::createDockWidgets() /* ResourceCatalog */ _dw_resource_catalog = new QDockWidget(_dock_parent); _dw_resource_catalog->setWindowTitle("Resource Catalog"); - _dw_resource_catalog->setObjectName("ResourceCatalogDockWidget"); + _dw_resource_catalog->setObjectName("jmResourceCatalogDock"); _resource_catalog = new JM::ResourceCatalog(_dw_resource_catalog, _salome_services, false); QScrollArea * scroll_widget_resource = new QScrollArea(_dw_resource_catalog); scroll_widget_resource->setWidget(_resource_catalog); diff --git a/src/genericgui/BL_JobsManager_QT.cxx b/src/genericgui/BL_JobsManager_QT.cxx index 836e698..47171ed 100644 --- a/src/genericgui/BL_JobsManager_QT.cxx +++ b/src/genericgui/BL_JobsManager_QT.cxx @@ -94,7 +94,7 @@ BL::JobsManager_QT::JobsManager_QT(QWidget * parent, BL::GenericGui * main_gui, scroll_widget->setWidgetResizable(true); setWidget(scroll_widget); setWindowTitle("Job Manager"); - setObjectName("JobManagerDockWidget"); + setObjectName("jmJobManagerDock"); } BL::JobsManager_QT::~JobsManager_QT()