From: vsr Date: Tue, 12 Aug 2014 11:47:38 +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=e23efe7a2fa86e8972b79d863c710dbfe4f78293;p=modules%2Fhexablock.git 0022614: [CEA 1146] SalomePyQt python API tabifyDockWidgets and findDockByWT Unify object names of dock widgets --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx index 94c81f3..cf5f057 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx @@ -950,7 +950,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwInputPanel = new QDockWidget(aParent); _dwInputPanel->setVisible(false); _dwInputPanel->setWindowTitle("Input Panel"); - _dwInputPanel->setObjectName("InputPanelDockWidget"); + _dwInputPanel->setObjectName("hexablockInputPanelDock"); // _dwInputPanel->setMinimumWidth(DWINPUT_MINIMUM_WIDTH); // --- force a minimum until display // _treeViewDelegate = new DocumentDelegate(_dwInputPanel); @@ -961,7 +961,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwPattern->setVisible(false); _dwPattern->setWindowTitle("Model"); _dwPattern->setMinimumWidth(DW_MINIMUM_WIDTH); // --- force a minimum until display - _dwPattern->setObjectName("ModelDockWidget"); + _dwPattern->setObjectName("hexablockModelDock"); QFrame* patternFrame = new QFrame(_dwPattern); patternFrame->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred); @@ -996,7 +996,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwGroups->setVisible(false); _dwGroups->setWindowTitle("Groups"); _dwGroups->setMinimumWidth(DW_MINIMUM_WIDTH); // --- force a minimum until display - _dwGroups->setObjectName("GroupsDockWidget"); + _dwGroups->setObjectName("hexablockGroupsDock"); _groupsTreeView = new QTreeView(_dwGroups); _groupsTreeView->setEditTriggers(QAbstractItemView::NoEditTriggers); // _groupsTreeView->setItemDelegate(_treeViewDelegate); @@ -1008,7 +1008,7 @@ void HEXABLOCKGUI::createAndFillDockWidget() _dwMesh->setVisible(false); _dwMesh->setWindowTitle("Mesh"); _dwMesh->setMinimumWidth(DW_MINIMUM_WIDTH); // --- force a minimum until display - _dwMesh->setObjectName("MeshDockWidget"); + _dwMesh->setObjectName("hexablockMeshDock"); _meshTreeView = new QTreeView(_dwMesh); _meshTreeView->setEditTriggers(QAbstractItemView::NoEditTriggers); _meshTreeView->setSelectionMode(QAbstractItemView::SingleSelection);