summaryrefslogtreecommitdiffstats
path: root/tests/manual/picking-qml
Commit message (Collapse)AuthorAgeFilesLines
* Introduce QPickingProxyMike Krus2020-04-231-1/+56
| | | | | | | Lets user provide a separate mesh for picking. Change-Id: I30a61920e1673d8bc3473ca85046b236bad0a2af Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Make default geometries viewsMike Krus2020-02-271-1/+1
| | | | | | | | | | 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>
* Picking: viewport contains check needs to use pos in GL coordinatePaul Lemire2019-01-071-2/+24
| | | | | | | | | | The viewport rect is computed in GL coordinates. Therefore we need to check if the mouse is contained with the position in GL coordinates. The error is not noticeable unless you are using non full height viewport. Change-Id: I1c39ff91da4a3649288826b939071a298c83c723 Task-number: QTBUG-72856 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Don’t perform picking if QObjectPicker is disabledMike Krus2017-01-091-0/+1
| | | | | | | | | | Look at value of enabled property before performing picking. Also disabled entities will no longer be evaluated for picking. Finally, bail out early if none of the object pickers is enabled. Task-number: QTBUG-50553 Change-Id: I57768416be735f3a3641edafc66c4a2f866465ff Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add modifier and button support to QPickEventMike Krus2016-08-131-1/+1
| | | | | | Task-number: QTBUG-54006 Change-Id: Iffc04bc92648901e9cfdb98cc0818b5cbef46f81 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Moved picking-qml example to manual testRobert Brock2016-05-155-0/+398
Part of an examples cleanup Change-Id: Iaf8783fc456990a36d664540da9aa07ea05f6eb2 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>