Normalize how we set top level window geometry

Prefer Window API, since for QtQuick the root view isn't so tighly
coupled with the QWindow as in QWidgets world. Hide the difference in
Window_qtwidgets.cpp, which now prefers the QWidget API whenever possible,
as that's better tested than using QWindow direclty.
This commit is contained in:
Sergio Martins
2022-06-06 11:17:42 +01:00
parent 581451c342
commit 9c881ec53e
7 changed files with 36 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ public:
QRect geometry() const override;
void setGeometry(QRect) const override;
bool isVisible() const override;
void setVisible(bool) override;
WId handle() const override;
// TODOm3: Remove