[Interest] Qt3D - QObjectPicker clicked vs. pressed

Andy asmaloney at gmail.com
Fri Mar 17 19:39:57 CET 2017


I have an entity with a QObjectPicker component which only listens for the
"clicked" signal. (Qt 5.9 git)

If I press the mouse down on an entity, drag the mouse, and then release
the mouse, I would not expect to receive a "clicked" signal on that entity.

Given the docs, I would expect "entered", "pressed", and "exited" signals
to fire and then "released" to fire for whatever entity the mouse is over.

Is the current behaviour working as intended? If so, how do I distinguish
between a click on the entity and a click-drag using the clicked signal?


Thank you for your time.

---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170317/39faf403/attachment.html>


More information about the Interest mailing list