qml: make qtTopLevelUnderCursor_impl() receive QWindow
QWindow works for both QtWidgets and QtQuick
This commit is contained in:
@@ -33,6 +33,8 @@ inline QWidget *parentWidget(QWidget *widget)
|
||||
return widget ? widget->parentWidget() : nullptr;
|
||||
}
|
||||
|
||||
DOCKS_EXPORT QWidget *widgetForWindow(QWindow *window);
|
||||
|
||||
class FloatingWindow;
|
||||
|
||||
class DOCKS_EXPORT QWidgetAdapter : public QWidget
|
||||
|
||||
Reference in New Issue
Block a user