- class QAxis#
QAxis
stores QAbstractAxisInputs used to trigger an input event. More…Synopsis#
Properties#
Methods#
def
__init__()
def
addInput()
def
inputs()
def
removeInput()
def
value()
Signals#
def
valueChanged()
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 withparent
.Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property valueᅟ: float#
The value of the axis.
- Access functions:
Signal
valueChanged()
- __init__([parent=None])#
- Parameters:
parent –
QNode
Constructs a new
QAxis
instance with parentparent
.- addInput(input)#
- Parameters:
input –
QAbstractAxisInput
QAxis::addInput Adds an
input
for the axis.See also
QAbstractAxisInput
- inputs()#
- Return type:
.list of Qt3DInput.QAbstractAxisInput
QAxis::inputs
Returns vector of all inputs added to the axis.
- removeInput(input)#
- Parameters:
input –
QAbstractAxisInput
QAxis::removeInput
Removes an
input
from the axis.See also
QAbstractAxisInput
- value()#
- Return type:
float
Getter of property
valueᅟ
.- valueChanged(value)#
- Parameters:
value – float
Notification signal of property
valueᅟ
.