[Interest] [Qt3D] LogicalDevice with mouse wheel

Sean Harmer sean.harmer at kdab.com
Tue Aug 23 11:05:09 CEST 2016


On Monday 22 August 2016 21:53:01 Catalin Moldovan wrote:
> Hi,
> does anyone know if it is possible to use a LogicalDevice with mouse wheel
> events. I would have expected the OrbitCameraController from Qt3D.Extras to
> support zooming using the mouse wheel. I tried enhancing it but the
> documentation is vague at the moment and I couldn't find any examples. I
> know I could achieve this by using a MouseHandler item but I think using
> LogicalDevice whould be more elegant if possible.

This will be in Qt 5.8:

https://codereview.qt-project.org/#/c/168128/
https://codereview.qt-project.org/#/c/168129/

or you could cherry pick those to your local build. There might be some other 
dependencies that went in earlier but I'm not sure without doing more digging.

Cheers,

Sean
-- 
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts



More information about the Interest mailing list