QAxisSetting Class

(Qt3DInput::QAxisSetting)

A QAxisSetting class. More...

Header: #include <QAxisSetting>
qmake: QT += 3dinput
Since: Qt 5.5
Instantiated By: AxisSetting
Inherits: Qt3DCore::QNode

Properties

Public Functions

QAxisSetting(Qt3DCore::QNode *parent = nullptr)
QVector<int> axes() const
float deadZoneRadius() const
bool isSmoothEnabled() const

Public Slots

void setAxes(const QVector<int> &axes)
void setDeadZoneRadius(float deadZoneRadius)
void setSmoothEnabled(bool enabled)

Signals

void axesChanged(const QVector<int> &axes)
void deadZoneRadiusChanged(float deadZoneRadius)
void smoothChanged(bool smooth)

Additional Inherited Members

  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected functions inherited from Qt3DCore::QNode
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

A QAxisSetting class.

Property Documentation

axes : QVector<int>

Access functions:

QVector<int> axes() const
void setAxes(const QVector<int> &axes)

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.