class QAbstract3DInputHandler#

Inheritance diagram of PySide6.QtGraphs.QAbstract3DInputHandler

Inherited by: Q3DInputHandler, QTouch3DInputHandler

Synopsis#

Properties#

Methods#

Virtual methods#

Slots#

Signals#

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#

class InputView#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property inputPositionᅟ: QPoint#
Access functions:
property inputViewᅟ: QAbstract3DInputHandler.InputView#
Access functions:
property sceneᅟ: Q3DScene#
Access functions:
__init__([parent=None])#
Parameters:

parentQObject

cameraXRotation()#
Return type:

float

cameraYRotation()#
Return type:

float

cameraZoomLevel()#
Return type:

float

handleSelection(position)#
Parameters:

positionQPoint

inputPosition()#
Return type:

QPoint

Getter of property inputPositionᅟ .

inputView()#
Return type:

InputView

Getter of property inputViewᅟ .

inputViewChanged(view)#
Parameters:

viewInputView

Notification signal of property inputViewᅟ .

maxCameraXRotation()#
Return type:

float

maxCameraYRotation()#
Return type:

float

minCameraXRotation()#
Return type:

float

minCameraYRotation()#
Return type:

float

mouseDoubleClickEvent(event)#
Parameters:

eventQMouseEvent

mouseMoveEvent(event, mousePos)#
Parameters:
mousePressEvent(event, mousePos)#
Parameters:
mouseReleaseEvent(event, mousePos)#
Parameters:
positionChanged(position)#
Parameters:

positionQPoint

Notification signal of property inputPositionᅟ .

prevDistance()#
Return type:

int

previousInputPos()#
Return type:

QPoint

scene()#
Return type:

Q3DScene

Getter of property sceneᅟ .

sceneChanged(scene)#
Parameters:

sceneQ3DScene

Notification signal of property sceneᅟ .

setCameraXRotation(rotation)#
Parameters:

rotation – float

setCameraYRotation(rotation)#
Parameters:

rotation – float

setCameraZoomLevel(level)#
Parameters:

level – float

setInputPosition(position[, forceSelection=false])#
Parameters:
  • positionQPoint

  • forceSelection – bool

setInputView(inputView)#
Parameters:

inputViewInputView

Setter of property inputViewᅟ .

setMaxCameraXRotation(rotation)#
Parameters:

rotation – float

setMaxCameraYRotation(rotation)#
Parameters:

rotation – float

setMinCameraXRotation(rotation)#
Parameters:

rotation – float

setMinCameraYRotation(rotation)#
Parameters:

rotation – float

setPrevDistance(distance)#
Parameters:

distance – int

setPreviousInputPos(position)#
Parameters:

positionQPoint

setScene(scene)#
Parameters:

sceneQ3DScene

Setter of property sceneᅟ .

touchEvent(event)#
Parameters:

eventQTouchEvent

wheelEvent(event)#
Parameters:

eventQWheelEvent