Hello,

I have 2 components (2 basic rectangles) which overlap
The one on the bottom of the stack contains a mouseArea with hover enabled.
The mouse events seem to propagate to all the elements in the stack, not 
limiting itself to only the top element in the stack(similar to HTML elements).

Is there something similar to javascript's stopPropagation command?

I've managed to implement this behavior by adding a dummy mouse area in the top 
element which has empty handlers for all the events.
But I don't like the idea of having to manage all the possible cases for mouse 
interactions.

Thanks,
Claudiu

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to