QTouch3DInputHandler#

Basic touch display based input handler. More

Inheritance diagram of PySide6.QtDataVisualization.QTouch3DInputHandler

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

QTouch3DInputHandler is the basic input handler for touch screen devices.

Default touch input handler has the following functionalty:

Gesture

Action

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.

Note

Secondary view is available only for Q3DBars and Q3DSurface graphs.

Rotation, zoom, and selection can each be individually disabled using corresponding Q3DInputHandler properties.

class PySide6.QtDataVisualization.QTouch3DInputHandler([parent=None])#
Parameters:

parentPySide6.QtCore.QObject

Constructs the basic touch display input handler. An optional parent parameter can be given and is then passed to QObject constructor.