]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
0022614: [CEA 1146] SalomePyQt python API tabifyDockWidgets and findDockByWT
authorvsr <vsr@opencascade.com>
Tue, 12 Aug 2014 11:32:52 +0000 (15:32 +0400)
committervsr <vsr@opencascade.com>
Tue, 12 Aug 2014 11:32:52 +0000 (15:32 +0400)
Unify object names of dock widgets

src/genericgui/BL_GenericGui.cxx
src/genericgui/BL_JobsManager_QT.cxx

index fe4fd3176570849135b73e1408482daa5dcf9c92..fbf3d01b556135d8a23b5b252a26c88050e9ea36 100644 (file)
@@ -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);
index 836e69852a335f8105586639df450871c0ab2c48..47171ed0ff09dd90252d7ec11842cf56b9c38777 100644 (file)
@@ -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()