QInputSettings

QInputSettings class holds the pointer to an input event source object. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QInputSettings

Synopsis

Functions

Slots

Signals

Detailed Description

The 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.

See also

QMouseDevice QKeyboardDevice

class PySide6.Qt3DInput.Qt3DInput.QInputSettings([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

PySide6.Qt3DInput.Qt3DInput.QInputSettings.eventSource()
Return type

PySide6.QtCore.QObject

Holds the current event source. An event source is an object that is capable of receiving various input events, such as mouse or keyboard events. Typically it is a QWindow instance.

PySide6.Qt3DInput.Qt3DInput.QInputSettings.eventSourceChanged(arg__1)
Parameters

arg__1PySide6.QtCore.QObject

PySide6.Qt3DInput.Qt3DInput.QInputSettings.setEventSource(eventSource)
Parameters

eventSourcePySide6.QtCore.QObject

Holds the current event source. An event source is an object that is capable of receiving various input events, such as mouse or keyboard events. Typically it is a QWindow instance.