- class QAbstract3DInputHandler#
-
Inherited by:
Q3DInputHandler
,QTouch3DInputHandler
Synopsis#
Properties#
Methods#
def
__init__()
def
inputPosition()
def
inputView()
def
prevDistance()
def
scene()
def
setInputView()
def
setScene()
Virtual methods#
def
mouseMoveEvent()
def
touchEvent()
def
wheelEvent()
Slots#
Signals#
def
sceneChanged()
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.- Access functions:
- property inputViewᅟ: QAbstract3DInputHandler.InputView#
- Access functions:
- Access functions:
Signal
sceneChanged()
- cameraXRotation()#
- Return type:
float
- cameraYRotation()#
- Return type:
float
- cameraZoomLevel()#
- Return type:
float
Getter of property
inputPositionᅟ
.Getter of property
inputViewᅟ
.Notification signal of property
inputViewᅟ
.- maxCameraXRotation()#
- Return type:
float
- maxCameraYRotation()#
- Return type:
float
- minCameraXRotation()#
- Return type:
float
- minCameraYRotation()#
- Return type:
float
- mouseDoubleClickEvent(event)#
- Parameters:
event –
QMouseEvent
- mouseMoveEvent(event, mousePos)#
- Parameters:
event –
QMouseEvent
mousePos –
QPoint
- mousePressEvent(event, mousePos)#
- Parameters:
event –
QMouseEvent
mousePos –
QPoint
- mouseReleaseEvent(event, mousePos)#
- Parameters:
event –
QMouseEvent
mousePos –
QPoint
Notification signal of property
inputPositionᅟ
.- prevDistance()#
- Return type:
int
Getter of property
sceneᅟ
.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:
position –
QPoint
forceSelection – bool
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
Setter of property
sceneᅟ
.- touchEvent(event)#
- Parameters:
event –
QTouchEvent
- wheelEvent(event)#
- Parameters:
event –
QWheelEvent