diff options
Diffstat (limited to 'src/platformheaders/windowsfunctions/qwindowswindowfunctions.qdoc')
-rw-r--r-- | src/platformheaders/windowsfunctions/qwindowswindowfunctions.qdoc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/platformheaders/windowsfunctions/qwindowswindowfunctions.qdoc b/src/platformheaders/windowsfunctions/qwindowswindowfunctions.qdoc index 24e4847042..898b1bbb29 100644 --- a/src/platformheaders/windowsfunctions/qwindowswindowfunctions.qdoc +++ b/src/platformheaders/windowsfunctions/qwindowswindowfunctions.qdoc @@ -144,3 +144,35 @@ \sa QWidget::activateWindow(), QWindow::requestActivate() \since 5.7 */ + +/*! + \typedef QWindowsWindowFunctions::IsTabletModeType + + This is the typedef for the function returned by QGuiApplication::platformFunction() + when passed isTabletModeIdentifier(). + + \since 5.9 +*/ + +/*! + \fn QByteArray QWindowsWindowFunctions::isTabletModeIdentifier() + + Returns a bytearray that can be used to query + QGuiApplication::platformFunction() to retrieve the IsTabletModeType + function. + + \since 5.9 +*/ + +/*! + \fn bool QWindowsWindowFunctions::isTabletMode() + + This is a convenience function that can be used directly instead of resolving + the function pointer. The function can be used to query whether Windows 10 + operates in \e{Tablet Mode}. In this mode, Windows forces all application + main windows to open in maximized state. Applications should then avoid + resizing windows or restoring geometries to non-maximized states. + + \sa QWidget::showMaximized(), QWidget::saveGeometry(), QWidget::restoreGeometry() + \since 5.9 +*/ |