QAbstract3DInputHandler#
Inherited by: Q3DInputHandler, QTouch3DInputHandler
Synopsis#
Properties#
Functions#
def
inputPosition
()def
inputView
()def
prevDistance
()def
previousInputPos
()def
scene
()def
setInputPosition
(position[, forceSelection=false])def
setInputView
(inputView)def
setPrevDistance
(distance)def
setPreviousInputPos
(position)def
setScene
(scene)
Virtual functions#
def
mouseDoubleClickEvent
(event)def
mouseMoveEvent
(event, mousePos)def
mousePressEvent
(event, mousePos)def
mouseReleaseEvent
(event, mousePos)def
touchEvent
(event)def
wheelEvent
(event)
Slots#
def
handleSelection
(position)
Signals#
def
inputViewChanged
(view)def
positionChanged
(position)def
sceneChanged
(scene)
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 PySide6.QtGraphs.QAbstract3DInputHandler([parent=None])#
- Parameters:
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtGraphs.QAbstract3DInputHandler.inputPosition: PySide6.QtCore.QPoint#
- Access functions:
setInputPosition
(position[, forceSelection=false])Signal
positionChanged
(position)
- property PᅟySide6.QtGraphs.QAbstract3DInputHandler.inputView: InputView#
- Access functions:
inputView
()setInputView
(inputView)Signal
inputViewChanged
(view)
- property PᅟySide6.QtGraphs.QAbstract3DInputHandler.scene: PySide6.QtGraphs.Q3DScene#
- Access functions:
scene
()setScene
(scene)Signal
sceneChanged
(scene)
- PySide6.QtGraphs.QAbstract3DInputHandler.InputView#
- PySide6.QtGraphs.QAbstract3DInputHandler.handleSelection(position)#
- Parameters:
position –
PySide6.QtCore.QPoint
- PySide6.QtGraphs.QAbstract3DInputHandler.inputPosition()#
- Return type:
Getter of property inputPosition
.
Getter of property inputView
.
Notification signal of property inputView
.
- PySide6.QtGraphs.QAbstract3DInputHandler.mouseDoubleClickEvent(event)#
- Parameters:
event –
PySide6.QtGui.QMouseEvent
- PySide6.QtGraphs.QAbstract3DInputHandler.mouseMoveEvent(event, mousePos)#
- Parameters:
event –
PySide6.QtGui.QMouseEvent
mousePos –
PySide6.QtCore.QPoint
- PySide6.QtGraphs.QAbstract3DInputHandler.mousePressEvent(event, mousePos)#
- Parameters:
event –
PySide6.QtGui.QMouseEvent
mousePos –
PySide6.QtCore.QPoint
- PySide6.QtGraphs.QAbstract3DInputHandler.mouseReleaseEvent(event, mousePos)#
- Parameters:
event –
PySide6.QtGui.QMouseEvent
mousePos –
PySide6.QtCore.QPoint
- PySide6.QtGraphs.QAbstract3DInputHandler.positionChanged(position)#
- Parameters:
position –
PySide6.QtCore.QPoint
Notification signal of property inputPosition
.
- PySide6.QtGraphs.QAbstract3DInputHandler.prevDistance()#
- Return type:
int
- PySide6.QtGraphs.QAbstract3DInputHandler.previousInputPos()#
- Return type:
- PySide6.QtGraphs.QAbstract3DInputHandler.scene()#
- Return type:
Getter of property scene
.
- PySide6.QtGraphs.QAbstract3DInputHandler.sceneChanged(scene)#
- Parameters:
scene –
PySide6.QtGraphs.Q3DScene
Notification signal of property scene
.
- PySide6.QtGraphs.QAbstract3DInputHandler.setInputPosition(position[, forceSelection=false])#
- Parameters:
position –
PySide6.QtCore.QPoint
forceSelection – bool
Setter of property inputView
.
- PySide6.QtGraphs.QAbstract3DInputHandler.setPrevDistance(distance)#
- Parameters:
distance – int
- PySide6.QtGraphs.QAbstract3DInputHandler.setPreviousInputPos(position)#
- Parameters:
position –
PySide6.QtCore.QPoint
- PySide6.QtGraphs.QAbstract3DInputHandler.setScene(scene)#
- Parameters:
scene –
PySide6.QtGraphs.Q3DScene
Setter of property scene
.
- PySide6.QtGraphs.QAbstract3DInputHandler.touchEvent(event)#
- Parameters:
event –
PySide6.QtGui.QTouchEvent
- PySide6.QtGraphs.QAbstract3DInputHandler.wheelEvent(event)#
- Parameters:
event –
PySide6.QtGui.QWheelEvent