]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #34: Object browser, console and property panel can be placed into any dock...
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 4 Sep 2014 13:20:15 +0000 (17:20 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 4 Sep 2014 13:20:15 +0000 (17:20 +0400)
src/XGUI/XGUI_Workshop.cpp

index 54ea79e5208a12c63069c0777d8ff3d73aa7d7f3..44fc8d1f7bdf669138a52cf587c44d9a85e28278 100644 (file)
@@ -827,7 +827,7 @@ QList<QAction*> XGUI_Workshop::getModuleCommands() const
 QDockWidget* XGUI_Workshop::createObjectBrowser(QWidget* theParent)
 {
   QDockWidget* aObjDock = new QDockWidget(theParent);
-  aObjDock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
+  //aObjDock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
   aObjDock->setWindowTitle(tr("Object browser"));
   aObjDock->setStyleSheet(
       "::title { position: relative; padding-left: 5px; text-align: left center }");