summaryrefslogtreecommitdiffstats
path: root/tests/manual/dragging
Commit message (Collapse)AuthorAgeFilesLines
* Make default geometries viewsMike Krus2020-02-271-8/+12
| | | | | | | | | | In Extras, make QTorusMesh and others a QGeometryView rather than a QGeometryRenderer. Requires changes to scene graphs here and there but going forward there simple shapes could be used as proxies for picking or collision detection, etc. Change-Id: Id488e064080dfd303e448aba11e6b242236b81d4 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Send further pick events to initial object pickerMike Krus2017-01-234-0/+260
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>