Skip to content

Commit 33299c2

Browse files
committed
doc: Clarify focus window vs activation in Key Handling Overview
Pick-to: 6.6 6.5 6.2 Change-Id: I837e72448577e6814acf20cef49f4528e2ac6ba7 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
1 parent b46d6a7 commit 33299c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quick/doc/src/concepts/input/focus.qdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ scope based extension to Qt's traditional keyboard focus model.
1818
When the user presses or releases a key, the following occurs:
1919
\list 1
2020
\li Qt receives the key action and generates a key event.
21-
\li If a \l QQuickWindow is the active window, the key event
22-
is delivered to it.
21+
\li If a \l QQuickWindow is the \l{QGuiApplication::focusWindow()}{focus window}
22+
of the application, the key event is delivered to it.
2323
\li The key event is delivered by the scene to the \l Item with
2424
\e {active focus}. If no item has active focus, the key event is ignored.
2525
\li If the \l QQuickItem with active focus accepts the key event, propagation

0 commit comments

Comments
 (0)