QAxisSetting#
QAxisSetting
stores settings for the specified list of Axis. More…
Synopsis#
Properties#
Functions#
def
axes
()def
deadZoneRadius
()def
isSmoothEnabled
()
Slots#
def
setAxes
(axes)def
setDeadZoneRadius
(deadZoneRadius)def
setSmoothEnabled
(enabled)
Signals#
def
axesChanged
(axes)def
deadZoneRadiusChanged
(deadZoneRadius)def
smoothChanged
(smooth)
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#
Stores the dead zone associated with this axis and defines if smoothing is enabled
- class PySide6.Qt3DInput.Qt3DInput.QAxisSetting([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QAxisSetting
instance with parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DInput.Qt3DInput.QAxisSetting.axes#
- Access functions:
axes
()setAxes
(axes)Signal
axesChanged
(axes)
- property PᅟySide6.Qt3DInput.Qt3DInput.QAxisSetting.deadZoneRadius: float#
- Access functions:
setDeadZoneRadius
(deadZoneRadius)Signal
deadZoneRadiusChanged
(deadZoneRadius)
- property PᅟySide6.Qt3DInput.Qt3DInput.QAxisSetting.smooth: bool#
- Access functions:
setSmoothEnabled
(enabled)Signal
smoothChanged
(smooth)
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.axes()#
QAxisSetting::axes Returns the current list of Axis these settings apply to.
See also
Getter of property axes
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.axesChanged(axes)#
- Parameters:
axes –
This signal is emitted when the axes associated with the axis setting is changed to axes
.
Notification signal of property axes
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.deadZoneRadius()#
- Return type:
float
QAxisSetting::deadZoneRadius Returns the set dead zone radius.
See also
Getter of property deadZoneRadius
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.deadZoneRadiusChanged(deadZoneRadius)#
- Parameters:
deadZoneRadius – float
This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius
.
Notification signal of property deadZoneRadius
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.isSmoothEnabled()#
- Return type:
bool
QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.
Getter of property smooth
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.setAxes(axes)#
- Parameters:
axes –
Set the current axes of the QAxisSetting
instance to axes
.
See also
Setter of property axes
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.setDeadZoneRadius(deadZoneRadius)#
- Parameters:
deadZoneRadius – float
Set the current dead zone radius of the QAxisSetting
instance to deadZoneRadius
.
See also
Setter of property deadZoneRadius
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.setSmoothEnabled(enabled)#
- Parameters:
enabled – bool
Set the current state of the QAxisSettings smoothing to enabled
.
See also
Setter of property smooth
.
- PySide6.Qt3DInput.Qt3DInput.QAxisSetting.smoothChanged(smooth)#
- Parameters:
smooth – bool
This signal is emitted when the smoothing state is changed to smooth
.
Notification signal of property smooth
.