[Qt-qml] Mouse Event Filtering in QML 2

Leo.Cunha at nokia.com Leo.Cunha at nokia.com
Mon Jun 6 17:23:51 CEST 2011


hi,

in qml1 I used to have an empty MouseArea{ enabled: animation.running } to filter events while an animation was ongoing.

in qml2 this empty mouse area is no longer accepting the events by default, so the only way I found was to declare empty handlers for all mouse events.

is there a better way to achieve mouse events filtering in qml2 ?

cheers,
// leo
--
Leonardo Cunha
Software Engineer
Nokia, Qt




More information about the Qt-qml mailing list