Basic touch display based input handler. More...
|virtual void||touchEvent(QTouchEvent *event)|
- 12 public functions inherited from Q3DInputHandler
- 12 public functions inherited from QAbstract3DInputHandler
- 34 public functions inherited from QObject
Additional Inherited Members
- 4 properties inherited from Q3DInputHandler
- 3 properties inherited from QAbstract3DInputHandler
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 4 signals inherited from Q3DInputHandler
- 3 signals inherited from QAbstract3DInputHandler
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 4 protected functions inherited from QAbstract3DInputHandler
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Basic touch display based input handler.
QTouch3DInputHandler is the basic input handler for touch screen devices.
Default touch input handler has the following functionalty:
|Touch-And-Move||Rotate graph within limits set for Q3DCamera|
|Tap||Select the item tapped or remove selection if none. May open the secondary view depending on the selection mode.|
|Tap-And-Hold||Same as tap.|
|Pinch||Zoom in/out within the allowable zoom range set for Q3DCamera.|
|Tap on the primary view when the secondary view is visible||Closes the secondary view.|
Rotation, zoom, and selection can each be individually disabled using corresponding Q3DInputHandler properties.
Member Function Documentation
QTouch3DInputHandler::QTouch3DInputHandler(QObject *parent = nullptr)
Constructs the basic touch display input handler. An optional parent parameter can be given and is then passed to QObject constructor.
Destroys the input handler.
[virtual] void QTouch3DInputHandler::touchEvent(QTouchEvent *event)
Reimplemented from QAbstract3DInputHandler::touchEvent().
Override this to change handling of touch events. Touch event is given in the event.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.