14#include "private/MDILayoutWidget_p.h"
15#include "private/DropAreaWithCentralFrame_p.h"
17#ifdef KDDOCKWIDGETS_QTWIDGETS
24#include <QGuiApplication>
33 : layoutWidget(new MDILayoutWidget(parent))
42 MDILayoutWidget *
const layoutWidget;
46 : QWidgetAdapter(parent)
47 , d(new Private(this))
49#ifdef KDDOCKWIDGETS_QTWIDGETS
51 vlay->setContentsMargins({});
52 vlay->addWidget(d->layoutWidget);
54 QWidgetAdapter::makeItemFillParent(d->layoutWidget);
68 auto dropAreaWrapper =
new DropArea(wrapperDW,
true);
70 wrapperDW->setWidget(dropAreaWrapper);
75 d->layoutWidget->addDockWidget(dw, localPt, addingOption);
80 d->layoutWidget->moveDockWidget(dw, pos);
85 d->layoutWidget->resizeDockWidget(dw, size);
90 return d->layoutWidget->frames();
98 for (Frame *frame :
frames) {
99 qApp->sendEvent(frame, e);
bool isAccepted() const const