tests: Port another test to QtQuick

29 to go
This commit is contained in:
Sergio Martins
2020-11-06 23:45:04 +00:00
parent 09793b3481
commit 978f9d3a5e
4 changed files with 127 additions and 117 deletions

View File

@@ -186,6 +186,14 @@ void QWidgetAdapter::setGeometry(QRect rect)
move(rect.topLeft());
}
QRect QWidgetAdapter::frameGeometry() const
{
if (QWindow *w = windowHandle())
return w->frameGeometry();
return geometry();
}
void QWidgetAdapter::grabMouse()
{
QQuickItem::grabMouse();