QAxisSetting Class
(Qt3DInput::QAxisSetting)QAxisSetting stores settings for the specified list of Axis. More...
Header: | #include <QAxisSetting> |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Instantiated By: | AxisSetting |
Inherits: | Qt3DCore::QNode |
This class was introduced in Qt 5.5.
Properties
- axes : QVector<int>
- deadZoneRadius : float
- smooth : bool
- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QAxisSetting(Qt3DCore::QNode *parent = nullptr) | |
QVector<int> | axes() const |
float | deadZoneRadius() const |
bool | isSmoothEnabled() const |
- 13 public functions inherited from Qt3DCore::QNode
- 30 public functions inherited from QObject
Public Slots
void | setAxes(const QVector<int> &axes) |
void | setDeadZoneRadius(float deadZoneRadius) |
void | setSmoothEnabled(bool enabled) |
- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | axesChanged(const QVector<int> &axes) |
void | deadZoneRadiusChanged(float deadZoneRadius) |
void | smoothChanged(bool smooth) |
- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Related Non-Members
typedef | QNodePtr |
typedef | QNodeVector |
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
Qt3DCore::QNodeId | qIdForNode(Qt3DCore::QNode *node) |
Qt3DCore::QNodeIdVector | qIdsForNodes(const T &nodes) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 9 static public members inherited from QObject
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Detailed Description
Stores the dead zone associated with this axis and defines if smoothing is enabled
Property Documentation
axes : QVector<int>
Access functions:
Notifier signal:
void | axesChanged(const QVector<int> &axes) |
deadZoneRadius : float
Access functions:
float | deadZoneRadius() const |
void | setDeadZoneRadius(float deadZoneRadius) |
Notifier signal:
void | deadZoneRadiusChanged(float deadZoneRadius) |
smooth : bool
Access functions:
bool | isSmoothEnabled() const |
void | setSmoothEnabled(bool enabled) |
Notifier signal:
void | smoothChanged(bool smooth) |
Member Function Documentation
QAxisSetting::QAxisSetting(Qt3DCore::QNode *parent = nullptr)
Constructs a new QAxisSetting instance with parent.
[signal]
void QAxisSetting::axesChanged(const QVector<int> &axes)
This signal is emitted when the axes associated with the axis setting is changed to axes.
Note: Notifier signal for property axes.
[signal]
void QAxisSetting::deadZoneRadiusChanged(float deadZoneRadius)
This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius.
Note: Notifier signal for property deadZoneRadius.
[slot]
void QAxisSetting::setAxes(const QVector<int> &axes)
Set the current axes of the QAxisSetting instance to axes.
Note: Setter function for property axes.
See also axes().
[slot]
void QAxisSetting::setDeadZoneRadius(float deadZoneRadius)
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Note: Setter function for property deadZoneRadius.
See also deadZoneRadius().
[slot]
void QAxisSetting::setSmoothEnabled(bool enabled)
Set the current state of the QAxisSettings smoothing to enabled.
Note: Setter function for property smooth.
See also isSmoothEnabled().
[signal]
void QAxisSetting::smoothChanged(bool smooth)
This signal is emitted when the smoothing state is changed to smooth.
Note: Notifier signal for property smooth.
QVector<int> QAxisSetting::axes() const
QAxisSetting::axes Returns the current list of Axis these settings apply to.
Note: Getter function for property axes.
See also setAxes().
float QAxisSetting::deadZoneRadius() const
QAxisSetting::deadZoneRadius Returns the set dead zone radius.
Note: Getter function for property deadZoneRadius.
See also setDeadZoneRadius().
bool QAxisSetting::isSmoothEnabled() const
QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.
Note: Getter function for property smooth.