14#include "core/View_p.h"
17#include "kddockwidgets/core/views/DockWidgetViewInterface.h"
18#include "kddockwidgets/core/DockWidget.h"
19#include "kddockwidgets/core/MDILayout.h"
20#include "kddockwidgets/core/DropArea.h"
49 , d(new Private(this))
53 vlay->addWidget(View_qt::asQWidget(d->layout));
55 View::d->closeRequested.connect([
this](
QCloseEvent *ev) { d->layout->onCloseEvent(ev); });
77 auto dropAreaWrapper =
new DropArea(wrapperDW->view(), {},
true);
79 wrapperDW->setGuestView(dropAreaWrapper->view()->asWrapper());
84 d->layout->addDockWidget(dw, localPt, addingOption);
89 d->layout->moveDockWidget(dw,
pos);
94 d->layout->resizeDockWidget(dw,
size);
100 auto dw = dwView ? dwView->
dockWidget() :
nullptr;
106 auto dw = dwView ? dwView->
dockWidget() :
nullptr;
112 auto dw = dwView ? dwView->
dockWidget() :
nullptr;
118 return d->layout->groups();
Application-wide config to tune certain behaviours of the framework.
QObject * parent() const const