QInputSettings Class

(Qt3DInput::QInputSettings)

QInputSettings stores settings for the specified eventSource. More...

Header: #include <QInputSettings>
qmake: QT += 3dinput
Since: Qt 5.7
Instantiated By: InputSettings
Inherits: Qt3DCore::QComponent

Properties

Public Functions

QInputSettings(Qt3DCore::QNode *parent = nullptr)
QObject *eventSource() const

Public Slots

void setEventSource(QObject *eventSource)

Signals

void eventSourceChanged(QObject *)

Additional Inherited Members

Detailed Description

QInputSettings stores settings for the specified eventSource.

Property Documentation

eventSource : QObject *

Holds the source for the QInputSettings.

Access functions:

QObject *eventSource() const
void setEventSource(QObject *eventSource)

Notifier signal:

void eventSourceChanged(QObject *)

Member Function Documentation

QInputSettings::QInputSettings(Qt3DCore::QNode *parent = nullptr)

Constructs a new QInputSettings instance with parent.

QObject *QInputSettings::eventSource() const

QInputSettings::eventSource Returns the current event source of the QInputSettings instance.

Note: Getter function for property eventSource.

See also setEventSource().

[signal] void QInputSettings::eventSourceChanged(QObject *)

This signal is emitted when the even source associated with the input setting is changed.

Note: Notifier signal for property eventSource.

[slot] void QInputSettings::setEventSource(QObject *eventSource)

Set the current event source of the QInputSettings instance to eventSource.

Note: Setter function for property eventSource.

See also eventSource().