From: vsv Date: Thu, 4 Sep 2014 13:20:15 +0000 (+0400) Subject: Issue #34: Object browser, console and property panel can be placed into any dock... X-Git-Tag: V_0.4.4~83 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce3040b372cff553719ce1d67a634887448f5d27;p=modules%2Fshaper.git Issue #34: Object browser, console and property panel can be placed into any dock position --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 54ea79e52..44fc8d1f7 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -827,7 +827,7 @@ QList 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 }");