[Interest] How to prevent Drawer from mouse events propagation

Alexander Ivash elderorb at gmail.com
Mon Jul 1 15:29:22 CEST 2019


After a few more attempts I changed approach and not using Drawer
anymore in that place. But its sad to see such a simple use-cases are
tricky to implement. Imo Drawer should expose / allow to override
details of its internal event handling. Or maybe event propagation
from Drawer should be blocked by default... I can't imaging situation
where it would harm.

вс, 30 июн. 2019 г. в 19:14, Vlad Stelmahovsky <vladstelmahovsky at gmail.com>:
>
> have you tried
> interactive: false
> ?
> unfortunately, in this case its not possible to close Drawer with a mouse (which is supposed to be bug, I believe)
> basically it make impossible to use SwipeDelegate, for example, inside Drawer
>
>
> On Sun, Jun 30, 2019 at 11:41 AM Alexander Ivash <elderorb at gmail.com> wrote:
>>
>> I have a Drawer with a ListView inside and draggable item (via
>> DragHandler / PinchHandler) below the Drawer. The issue is that when I
>> drag Drawer draggable item also gets dragged. I understand that I can
>> play with grabPermissions on the DragHandler's level inside my
>> draggable item, but I would like to avoid it if possible and instead
>> to try make Drawer event-opaque. Any ideas?
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> https://lists.qt-project.org/listinfo/interest
>
>
>
> --
> Best regards,
> Vlad


More information about the Interest mailing list