Split DropArea and MDILayout into View/Controller

This commit is contained in:
Sergio Martins
2022-04-25 18:50:41 +01:00
parent 6ebb432932
commit 0f61ef63a2
37 changed files with 314 additions and 187 deletions

View File

@@ -155,6 +155,7 @@ bool Frame_qtwidgets::event(QEvent *e)
if (e->type() == QEvent::ParentChange) {
auto p = parentView();
// qDebug() << "Parent change" << p->asQObject() << p->asLayoutWidget() << int(p->type());
m_controller->setLayoutWidget(p ? p->asLayoutWidget() : nullptr);
}