[Interest] MouseArea blocks 'Custom Scene Graph Item's mouse events
Sina Dogru
sinadooru at gmail.com
Mon Feb 22 15:02:58 CET 2016
So stackoverflow answer is partially right but my mind is so confused.
Well, if I set 'mouse.accepted' to false in the 'press' handler of the
MouseArea, event dispatcher sends the mouse events to MouseArea and also to
the QQuickItem::mousePressEvent. It is ok but somehow, MouseArea lose it
dragging capabality if I set 'mouse.accepted' to false in 'press' handler
of MouseArea.
2016-02-22 14:51 GMT+02:00 Curtis Mitch <mitch.curtis at theqtcompany.com>:
>
>
>
>
> *From:* Sina Dogru [mailto:sinadooru at gmail.com]
> *Sent:* Monday, 22 February 2016 1:43 PM
> *To:* Curtis Mitch <mitch.curtis at theqtcompany.com>
> *Cc:* interest at qt-project.org
> *Subject:* Re: [Interest] MouseArea blocks 'Custom Scene Graph Item's
> mouse events
>
>
>
> Thank you Curtis but as you can see it on my code snippet on the question,
> I have already tried to set 'propagateComposedEvents' to true. But it did
> not worked :S
>
>
>
>
>
> And what about the answer on Stack Overflow?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160222/03df8d41/attachment.html>
More information about the Interest
mailing list