diff options
author | Mike Krus <mike.krus@kdab.com> | 2017-01-15 17:53:15 +0000 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2017-01-23 08:32:22 +0000 |
commit | f53de9d4180ef716455d368558d3cb0898cf2b1b (patch) | |
tree | 750237b3e01306f644c4ce4b2563dd850af5cd84 /examples | |
parent | 63ee368eee8c9c18691ef9b0b5de783fe125f95e (diff) |
Send further pick events to initial object picker
Once an object picker receives a press event, all further
events will be sent to it until the mouse is released.
This enables interactive with objects that move behind
other pickable objects. In that case, the pick event
will be sent to the active object picker.
This behavior is disabled if all pick events are
requested (which works as before).
Included an example where a cylinder is dragged to
control the radius of a cone (like a slider) and
moves behind another pickable object (while remaining
interactive).
Task-number: QTBUG-55495
Change-Id: I4e3b8466d01ca1d08ef48c1fa6f6abd5b5404980
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions