mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
CHANGED: #1471 the docked widgets should e able to be docked to either side of the main window.
This commit is contained in:
parent
aac2efc577
commit
56047c51d2
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue