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
- eventSource : QObject *
- 1 property inherited from Qt3DCore::QComponent
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
| QInputSettings(Qt3DCore::QNode *parent = nullptr) | |
| QObject * | eventSource() const |
- 2 public functions inherited from Qt3DCore::QComponent
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
| void | setEventSource(QObject *eventSource) |
- 1 public slot inherited from Qt3DCore::QComponent
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
| void | eventSourceChanged(QObject *) |
- 1 signal inherited from Qt3DCore::QComponent
- 3 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
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
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().