qtquick: Fix frame not getting parented to DropArea

This commit is contained in:
Sergio Martins
2022-06-04 12:32:20 +01:00
parent 6c5f477c31
commit e5b82e0a45
3 changed files with 26 additions and 1 deletions

View File

@@ -56,6 +56,9 @@ public:
QRect dragRect() const override;
// TODOv2: Move this to a common base class between qtquick and qtwidgets
void setLayoutItem(Layouting::Item *item) override;
// QML interface:
bool isMDI() const;
KDDockWidgets::Views::TitleBar_qtquick *titleBar() const;
@@ -63,7 +66,9 @@ public:
int userType() const;
QObject *tabWidgetObj() const;
protected:
bool event(QEvent *) override;
void removeWidget_impl(Controllers::DockWidget *) override;
int indexOfDockWidget_impl(const Controllers::DockWidget *) override;
int currentIndex_impl() const override;