QInputSettings#
QInputSettings
class holds the pointer to an input event source object. More…
Synopsis#
Properties#
Functions#
def
eventSource
()
Slots#
def
setEventSource
(eventSource)
Signals#
def
eventSourceChanged
(arg__1)
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#
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:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DInput.Qt3DInput.QInputSettings.eventSource: 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.
- Access functions:
eventSource
()setEventSource
(eventSource)Signal
eventSourceChanged
(arg__1)
- PySide6.Qt3DInput.Qt3DInput.QInputSettings.eventSource()#
- Return type:
See also
Getter of property eventSource
.
- PySide6.Qt3DInput.Qt3DInput.QInputSettings.eventSourceChanged(arg__1)#
- Parameters:
arg__1 –
PySide6.QtCore.QObject
Notification signal of property eventSource
.
- PySide6.Qt3DInput.Qt3DInput.QInputSettings.setEventSource(eventSource)#
- Parameters:
eventSource –
PySide6.QtCore.QObject
See also
Setter of property eventSource
.