From: akl Date: Fri, 13 Dec 2013 13:39:45 +0000 (+0000) Subject: Fix of 0022440: [CEA 1027] The panels position of "Model", "Groups" and "Mesh" of... X-Git-Tag: V7_3_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c9ee30b04e21bec9c837da61554867854ada78c;p=modules%2Fhexablock.git Fix of 0022440: [CEA 1027] The panels position of "Model", "Groups" and "Mesh" of HEXABLOCK module is not stored --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx index c243f38..63ebc65 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx @@ -941,6 +941,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwInputPanel = new QDockWidget(aParent); _dwInputPanel->setVisible(false); _dwInputPanel->setWindowTitle("Input Panel"); + _dwInputPanel->setObjectName("InputPanelDockWidget"); // _dwInputPanel->setMinimumWidth(DWINPUT_MINIMUM_WIDTH); // --- force a minimum until display // _treeViewDelegate = new DocumentDelegate(_dwInputPanel); @@ -951,6 +952,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwPattern->setVisible(false); _dwPattern->setWindowTitle("Model"); _dwPattern->setMinimumWidth(DW_MINIMUM_WIDTH); // --- force a minimum until display + _dwPattern->setObjectName("ModelDockWidget"); QFrame* patternFrame = new QFrame(_dwPattern); patternFrame->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred); @@ -985,6 +987,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwGroups->setVisible(false); _dwGroups->setWindowTitle("Groups"); _dwGroups->setMinimumWidth(DW_MINIMUM_WIDTH); // --- force a minimum until display + _dwGroups->setObjectName("GroupsDockWidget"); _groupsTreeView = new QTreeView(_dwGroups); _groupsTreeView->setEditTriggers(QAbstractItemView::NoEditTriggers); // _groupsTreeView->setItemDelegate(_treeViewDelegate); @@ -996,6 +999,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwMesh->setVisible(false); _dwMesh->setWindowTitle("Mesh"); _dwMesh->setMinimumWidth(DW_MINIMUM_WIDTH); // --- force a minimum until display + _dwMesh->setObjectName("MeshDockWidget"); _meshTreeView = new QTreeView(_dwMesh); _meshTreeView->setEditTriggers(QAbstractItemView::NoEditTriggers); _meshTreeView->setSelectionMode(QAbstractItemView::SingleSelection);