diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-11-15 11:51:50 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-15 05:39:36 +0100 |
commit | 520f9bebac742f885dc398533d91924de8793064 (patch) | |
tree | b0b5e2361de765d6e193220f8189b92451829b5b /doc/src | |
parent | 077c7eb97c822e70fdb2bfe88e3ddec46897ef6e (diff) |
Add propagateComposedEvents property to MouseArea
While necessary, advanced event propagation isn't the common use case.
Now needs to be explicitly enabled.
Task-number: QTBUG-21081
Change-Id: Ibd8b4974934116dbfa32cc5e72037fd9b11015b4
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/whatsnew.qdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index 749392a143..3a26b3737c 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -86,9 +86,10 @@ The \l{QtQuick.Particles 2}{QtQuick.Particles} module contains elements that can New \l SpriteImage element renders animated sprites and can transition between animations. It uses the \l Sprite element to represent each animation. -MouseArea now propagates clicked, doubleClicked and pressAndHold differently to pressed. -These will now be propagated to the highest-stacking-order enabled MouseArea which has a handler for them. +MouseArea can now propagate clicked, doubleClicked and pressAndHold differently to pressed. +These can now be propagated to the highest-stacking-order enabled MouseArea which has a handler for them. You can still ignore these events in the handler to let them pass through. +This behavior is triggered with the new property propagateComposedEvents. The Binding element can now be used as a value source, and will also restore any previously set binding when its \i when clause becomes false. |