QInputSettings¶
QInputSettings
class holds the pointer to an input event source object. More…
Synopsis¶
Functions¶
def
eventSource
()
Slots¶
def
setEventSource
(eventSource)
Signals¶
def
eventSourceChanged
(arg__1)
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, aQWindow
instance can be an event source.See also
QMouseDevice
QKeyboardDevice
- class PySide2.Qt3DInput.Qt3DInput.QInputSettings([parent=None])¶
- Parameters:
parent –
PySide2.Qt3DCore.Qt3DCore.QNode
- PySide2.Qt3DInput.Qt3DInput.QInputSettings.eventSource()¶
- Return type:
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.
- PySide2.Qt3DInput.Qt3DInput.QInputSettings.eventSourceChanged(arg__1)¶
- Parameters:
arg__1 –
PySide2.QtCore.QObject
- PySide2.Qt3DInput.Qt3DInput.QInputSettings.setEventSource(eventSource)¶
- Parameters:
eventSource –
PySide2.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.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.