]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #34: Allow top dock area for console
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 4 Sep 2014 13:25:28 +0000 (17:25 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 4 Sep 2014 13:25:28 +0000 (17:25 +0400)
src/XGUI/XGUI_MainWindow.cpp

index b1171dc64e1c02076b9f6984c2d87ffd62f725ff..6d619d8181686400e8dac5bd9008a05dede0ca30 100644 (file)
@@ -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);