diff options
author | Jeremy Katz <jeremy@panix.com> | 2013-07-15 21:54:04 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-31 08:01:30 +0200 |
commit | f9df0b99470f905289126f253ede978b611d6333 (patch) | |
tree | ae28c0061ca4e3b638e3f748cbab6c5d2b714630 /src | |
parent | b6a75d831009688b24633d1c0591029ff3cd0d74 (diff) |
Keyboard input documentation: an event accepted does NOT bubble up
Add missing negation for the code snippet demonstrating accepting a
key event
Change-Id: Ia4c1cc4f207df9fb6e041ff088c6da2a63cd47b9
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/doc/src/declarative/focus.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/src/declarative/focus.qdoc b/src/doc/src/declarative/focus.qdoc index 7ed80b05..3d0dde98 100644 --- a/src/doc/src/declarative/focus.qdoc +++ b/src/doc/src/declarative/focus.qdoc @@ -56,8 +56,8 @@ is delivered to it. Otherwise, regular Qt key handling continues. stops. Otherwise the event is "bubbled up", by recursively passing it to each Item's parent until either the event is accepted, or the root Item is reached. -If the \c {Rectangle} element in the following example has active focus and the \c A key is pressed, -it will bubble up to its parent. However, pressing the \c B key will bubble up to the root +If the \c {Rectangle} type in the following example has active focus and the \c A key is pressed, +the event will not be propagated further. Pressing the \c B key the event will propagate to the root item and thus subsequently be ignored. \snippet doc/src/snippets/declarative/focus/rectangle.qml simple key event |