qml: Add more API to match the QWidget counter part

Namely isMaximized, showNormal and showMaximized
This commit is contained in:
Sergio Martins
2020-07-26 16:01:13 +01:00
parent 40e944ee9d
commit 77307a1664
2 changed files with 19 additions and 0 deletions

View File

@@ -116,6 +116,22 @@ void QWidgetAdapter::resize(QSize sz)
setHeight(sz.height());
}
bool QWidgetAdapter::isMaximized() const
{
qWarning() << Q_FUNC_INFO << "Implement me";
return false;
}
void QWidgetAdapter::showMaximized()
{
qWarning() << Q_FUNC_INFO << "Implement me";
}
void QWidgetAdapter::showNormal()
{
qWarning() << Q_FUNC_INFO << "Implement me";
}
QWindow *QWidgetAdapter::windowHandle() const { return nullptr; }
void QWidgetAdapter::move(int x, int y)