Doc: link to QWindow::requestActivate() in more places
Make it easier to find the function that actually gives focus to windows that need it. Pick-to: 6.5 Change-Id: I0586b89b42a1be260e36e166c81b686e394d8b5e Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
This commit is contained in:
parent
b1b0f42c97
commit
a94ba94695
@ -948,6 +948,8 @@ bool QGuiApplicationPrivate::isWindowBlocked(QWindow *window, QWindow **blocking
|
||||
/*!
|
||||
Returns the QWindow that receives events tied to focus,
|
||||
such as key events.
|
||||
|
||||
\sa QWindow::requestActivate()
|
||||
*/
|
||||
QWindow *QGuiApplication::focusWindow()
|
||||
{
|
||||
|
@ -1258,6 +1258,8 @@ bool QWindow::isExposed() const
|
||||
Typically active windows should appear active from a style perspective.
|
||||
|
||||
To get the window that currently has focus, use QGuiApplication::focusWindow().
|
||||
|
||||
\sa requestActivate()
|
||||
*/
|
||||
bool QWindow::isActive() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user