内容表

上一话题

Qt3DInput.QInputSequence

下一话题

Qt3DInput.QKeyEvent

Qt3DInput.QInputSettings

QInputSettings class holds the pointer to an input event source object. 更多 …

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QInputSettings

概要

函数

槽

信号

详细描述

QInputSettings component must be set as a component of the scene root entity. It stores a pointer to the object that acts as the source of input events to be handled by various input classes. For example, a QWindow instance can be an event source.

另请参阅

QMouseDevice QKeyboardDevice

class PySide2.Qt3DInput.Qt3DInput. QInputSettings ( [ parent=None ] )
参数

parent – QNode

PySide2.Qt3DInput.Qt3DInput.QInputSettings. eventSource ( )
返回类型

QObject

另请参阅

setEventSource()

PySide2.Qt3DInput.Qt3DInput.QInputSettings. eventSourceChanged ( arg__1 )
参数

arg__1 – QObject

PySide2.Qt3DInput.Qt3DInput.QInputSettings. setEventSource ( eventSource )
参数

eventSource – QObject

另请参阅

eventSource()