Hi All,

I wanna have the following (A):

Foo {
    Button {}
}

or (B):

Item {
    Button {}
    Foo {}
}

Where "Foo" is an item that is interested only in drag gestures. So when
one is performed it does its thing. It ignores clicks, letting them go
to the Button element inside/behind it.

So A is a QQuickItem::filtersChildMouseEvents way of doing things (like
Flickable), whereas B is a MouseArea::propagateComposedEvents approach.

B is not an option as QtQuick.Controls2 are not MouseArea based, so it
just won't work.

To implement Foo as in option A I would have to resort to C++. But I
would like a pure-QML solution for this. Is it possible?

Best regards,
Daniel


________________________________

This e-mail and any attachment(s) are intended only for the recipient(s) named 
above and others who have been specifically authorized to receive them. They 
may contain confidential information. If you are not the intended recipient, 
please do not read this email or its attachment(s). Furthermore, you are hereby 
notified that any dissemination, distribution or copying of this e-mail and any 
attachment(s) is strictly prohibited. If you have received this e-mail in 
error, please immediately notify the sender by replying to this e-mail and then 
delete this e-mail and any attachment(s) or copies thereof from your system. 
Thank you.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to