diff options
author | Martin Smith <msmith@trolltech.com> | 2009-07-06 13:13:07 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-07-06 13:14:23 (GMT) |
commit | 8a72074b0ab146942512b37439ffc8618e3f7d06 (patch) | |
tree | 0cbcc051d618256be7d05bf2af2628c542442657 /src/gui/kernel/qevent.cpp | |
parent | bf51ca62d4d5c5df5aa8d3c09007eb1c44d7d710 (diff) | |
download | Qt-8a72074b0ab146942512b37439ffc8618e3f7d06.zip Qt-8a72074b0ab146942512b37439ffc8618e3f7d06.tar.gz Qt-8a72074b0ab146942512b37439ffc8618e3f7d06.tar.bz2 |
doc: Included note about the effect of WA_NoMousePropagation.
Task-number: 162945
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index bef7ee1..4fc3643 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -114,6 +114,10 @@ QInputEvent::~QInputEvent() propagated up the parent widget chain until a widget accepts it with accept(), or an event filter consumes it. + \note If a mouse event is propagated to a \l{QWidget}{widget} for + which Qt::WA_NoMousePropagation has been set, that mouse event + will not be propagated further up the parent widget chain. + The state of the keyboard modifier keys can be found by calling the \l{QInputEvent::modifiers()}{modifiers()} function, inhertied from QInputEvent. |