From a7fa6b835b3950bd33350860c8bd5127c5ce301f Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 13 Dec 2013 13:41:09 +0000 Subject: [PATCH] Fix of 0022440: [CEA 1027] The panels position of "Model", "Groups" and "Mesh" of HEXABLOCK module is not stored --- src/genericgui/BL_GenericGui.cxx | 2 ++ src/genericgui/BL_JobsManager_QT.cxx | 1 + 2 files changed, 3 insertions(+) diff --git a/src/genericgui/BL_GenericGui.cxx b/src/genericgui/BL_GenericGui.cxx index e20a217..d254a89 100644 --- a/src/genericgui/BL_GenericGui.cxx +++ b/src/genericgui/BL_GenericGui.cxx @@ -54,6 +54,7 @@ BL::GenericGui::createDockWidgets() /* Summary */ _dw_summary = new QDockWidget(_dock_parent); _dw_summary->setWindowTitle("Summary"); + _dw_summary->setObjectName("SummaryDockWidget"); _summary = new BL::Summary(_dw_summary, _jobs_manager); _summary->setModel(_model); QScrollArea * scroll_widget_summary = new QScrollArea(_dw_summary); @@ -64,6 +65,7 @@ BL::GenericGui::createDockWidgets() /* ResourceCatalog */ _dw_resource_catalog = new QDockWidget(_dock_parent); _dw_resource_catalog->setWindowTitle("Resource Catalog"); + _dw_resource_catalog->setObjectName("ResourceCatalogDockWidget"); _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 5f1f15e..16c65ce 100644 --- a/src/genericgui/BL_JobsManager_QT.cxx +++ b/src/genericgui/BL_JobsManager_QT.cxx @@ -94,6 +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"); } BL::JobsManager_QT::~JobsManager_QT() -- 2.39.2