|
|
@ -62,13 +62,13 @@ namespace GUIEditor
|
|
|
|
widgetProps->setupWidgetInfo( &widgetInfo );
|
|
|
|
widgetProps->setupWidgetInfo( &widgetInfo );
|
|
|
|
|
|
|
|
|
|
|
|
QDockWidget *dock = new QDockWidget( "Widget Hierarchy", this );
|
|
|
|
QDockWidget *dock = new QDockWidget( "Widget Hierarchy", this );
|
|
|
|
dock->setAllowedAreas( Qt::LeftDockWidgetArea );
|
|
|
|
dock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea );
|
|
|
|
WidgetHierarchy *ha = new WidgetHierarchy;
|
|
|
|
WidgetHierarchy *ha = new WidgetHierarchy;
|
|
|
|
dock->setWidget( ha );
|
|
|
|
dock->setWidget( ha );
|
|
|
|
addDockWidget( Qt::LeftDockWidgetArea, dock );
|
|
|
|
addDockWidget( Qt::LeftDockWidgetArea, dock );
|
|
|
|
|
|
|
|
|
|
|
|
dock = new QDockWidget( "Widget Properties", this );
|
|
|
|
dock = new QDockWidget( "Widget Properties", this );
|
|
|
|
dock->setAllowedAreas( Qt::RightDockWidgetArea );
|
|
|
|
dock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea );
|
|
|
|
QtTreePropertyBrowser *tb = new QtTreePropertyBrowser;
|
|
|
|
QtTreePropertyBrowser *tb = new QtTreePropertyBrowser;
|
|
|
|
browserCtrl.setBrowser( tb );
|
|
|
|
browserCtrl.setBrowser( tb );
|
|
|
|
browserCtrl.setup();
|
|
|
|
browserCtrl.setup();
|
|
|
|