From 56047c51d24978818626d03882e183b8264f69f6 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Wed, 18 Jul 2012 08:27:36 +0200 Subject: [PATCH] CHANGED: #1471 the docked widgets should e able to be docked to either side of the main window. --- .../src/plugins/gui_editor/gui_editor_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp index 425aba88d..af1b28c38 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp @@ -62,13 +62,13 @@ namespace GUIEditor widgetProps->setupWidgetInfo( &widgetInfo ); QDockWidget *dock = new QDockWidget( "Widget Hierarchy", this ); - dock->setAllowedAreas( Qt::LeftDockWidgetArea ); + dock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea ); WidgetHierarchy *ha = new WidgetHierarchy; dock->setWidget( ha ); addDockWidget( Qt::LeftDockWidgetArea, dock ); dock = new QDockWidget( "Widget Properties", this ); - dock->setAllowedAreas( Qt::RightDockWidgetArea ); + dock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea ); QtTreePropertyBrowser *tb = new QtTreePropertyBrowser; browserCtrl.setBrowser( tb ); browserCtrl.setup();