Folder Structuring
[photoenhancer] / src / app / appwindow.cpp
1 #include "appwindow.h"
2 #include "workspace.h"
3 #include <QDockWidget>
4 AppWindow::AppWindow()
5 {
6     QDockWidget *dockWidget = new QDockWidget(tr("Workspace"), this);
7         dockWidget->setAllowedAreas(Qt::LeftDockWidgetArea |
8                                     Qt::RightDockWidgetArea);
9
10         addDockWidget(Qt::LeftDockWidgetArea, dockWidget);
11     mWorkspace=new Workspace();
12      dockWidget->setWidget(mWorkspace);
13 }
14