]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Set names for dockable windows.
authorvsv <vsv@opencascade.com>
Fri, 20 Dec 2019 13:35:48 +0000 (16:35 +0300)
committervsv <vsv@opencascade.com>
Fri, 20 Dec 2019 13:35:48 +0000 (16:35 +0300)
src/XGUI/XGUI_FacesPanel.cpp
src/XGUI/XGUI_Workshop.cpp

index 4ce3f489643e306f789eab89cd76cb7e5277761f..e623a7e9098b3b67b19b11989838f67f036fa694 100644 (file)
@@ -91,6 +91,8 @@ XGUI_FacesPanel::XGUI_FacesPanel(QWidget* theParent, XGUI_Workshop* theWorkshop)
   : QDockWidget(theParent), myIsActive(false), myWorkshop(theWorkshop)
 {
   setWindowTitle(tr("Hide Faces"));
+  setObjectName("Hide Faces");
+
   QAction* aViewAct = toggleViewAction();
   setStyleSheet("::title { position: relative; padding-left: 5px; text-align: left center }");
 
index 56e784cb5a590a093d6d5273d053e6db3255b4d4..6bd2844a7f4c76d92169859d0d74d5f0e45e19c1 100644 (file)
@@ -1472,6 +1472,7 @@ QDockWidget* XGUI_Workshop::createObjectBrowser(QWidget* theParent)
   myObjectBrowser->initialize(myModule->rootNode());
   myModule->customizeObjectBrowser(myObjectBrowser);
   aObjDock->setWidget(myObjectBrowser);
+  aObjDock->setObjectName("Object browser");
 
   connect(myObjectBrowser, SIGNAL(sizeChanged()), SLOT(onDockSizeChanged()));