qtquick: Port more tests

This commit is contained in:
Sergio Martins
2020-10-19 20:47:09 +01:00
parent b9eb9f10d4
commit f70722934c
5 changed files with 190 additions and 156 deletions

View File

@@ -210,6 +210,11 @@ void QWidgetAdapter::resize(QSize sz)
setHeight(sz.height());
}
void QWidgetAdapter::resize(int w, int h)
{
resize({w, h});
}
bool QWidgetAdapter::isMaximized() const
{
if (QWindow *w = windowHandle())