QInputSettings Class
(Qt3DInput::QInputSettings)QInputSettings class holds the pointer to an input event source object. 更多...
头文件: | #include <QInputSettings> |
qmake: | QT += 3dinput |
开始支持版本: | Qt 5.7 |
Instantiated By: | InputSettings |
基类: | Qt3DCore::QComponent |
属性
- eventSource : QObject *
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QInputSettings(Qt3DCore::QNode *parent = nullptr) | |
~QInputSettings() | |
QObject * | eventSource() const |
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setEventSource(QObject *eventSource) |
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | eventSourceChanged(QObject *) |
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
QInputSettings class holds the pointer to an input event source object.
The QInputSettings component must be set as a component of the scene root entity. It stores a pointer to the object that acts as the source of input events to be handled by various input classes. For example, a QWindow instance can be an event source.
参见 QMouseDevice and QKeyboardDevice.
属性
eventSource : QObject *
Holds the current event source. An event source is an object that is capable of receiving various input events, such as mouse or keyboard events. Typically it is a QWindow instance.
访问函数:
QObject * | eventSource() const |
void | setEventSource(QObject *eventSource) |
Notifier signal:
void | eventSourceChanged(QObject *) |