QAxis#
QAxis
stores QAbstractAxisInputs used to trigger an input event. More…
Synopsis#
Properties#
Functions#
def
addInput
(input)def
inputs
()def
removeInput
(input)def
value
()
Signals#
def
valueChanged
(value)
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#
Constructs a new QAxis
instance with parent
.
- class PySide6.Qt3DInput.Qt3DInput.QAxis([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QAxis
instance with parent 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.QAxis.value: float#
The value of the axis.
- Access functions:
value
()Signal
valueChanged
(value)
- PySide6.Qt3DInput.Qt3DInput.QAxis.addInput(input)#
- Parameters:
QAxis::addInput Adds an input
for the axis.
See also
QAbstractAxisInput
- PySide6.Qt3DInput.Qt3DInput.QAxis.inputs()#
QAxis::inputs
Returns vector of all inputs added to the axis.
- PySide6.Qt3DInput.Qt3DInput.QAxis.removeInput(input)#
- Parameters:
QAxis::removeInput
Removes an input
from the axis.
See also
QAbstractAxisInput
- PySide6.Qt3DInput.Qt3DInput.QAxis.value()#
- Return type:
float
Getter of property value
.
- PySide6.Qt3DInput.Qt3DInput.QAxis.valueChanged(value)#
- Parameters:
value – float
Notification signal of property value
.