From: vsv Date: Thu, 4 Sep 2014 13:25:28 +0000 (+0400) Subject: Issue #34: Allow top dock area for console X-Git-Tag: V_0.4.4~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22c8d8cc86faef59b1409835048a58d4de454405;p=modules%2Fshaper.git Issue #34: Allow top dock area for console --- diff --git a/src/XGUI/XGUI_MainWindow.cpp b/src/XGUI/XGUI_MainWindow.cpp index b1171dc64..6d619d818 100644 --- a/src/XGUI/XGUI_MainWindow.cpp +++ b/src/XGUI/XGUI_MainWindow.cpp @@ -89,8 +89,8 @@ void XGUI_MainWindow::dockPythonConsole() myMenuBar->removeConsole(); QDockWidget* aDock = new QDockWidget(this); aDock->setFeatures(QDockWidget::AllDockWidgetFeatures | QDockWidget::DockWidgetVerticalTitleBar); - aDock->setAllowedAreas( - Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::BottomDockWidgetArea); +// aDock->setAllowedAreas( +// Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::BottomDockWidgetArea); aDock->setMinimumHeight(0); aDock->setWindowTitle("Console"); aDock->setWidget(myPythonConsole);