QInputChord Class
(Qt3DInput::QInputChord)QInputChord represents a set of QAbstractActionInput's that must be triggerd at once. 更多...
头文件: | #include <QInputChord> |
qmake: | QT += 3dinput |
开始支持版本: | Qt 5.7 |
Instantiated By: | InputChord |
基类: | Qt3DInput::QAbstractActionInput |
属性
- timeout : int
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QInputChord(Qt3DCore::QNode *parent = nullptr) | |
void | addChord(QAbstractActionInput *input) |
QVector<QAbstractActionInput *> | chords() const |
void | removeChord(QAbstractActionInput *input) |
int | timeout() const |
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setTimeout(int timeout) |
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | timeoutChanged(int timeout) |
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
QInputChord represents a set of QAbstractActionInput's that must be triggerd at once.
属性
timeout : int
The time in which all QAbstractActionInput's in the input chord must triggered within. The time is in milliseconds.
访问函数:
int | timeout() const |
void | setTimeout(int timeout) |
Notifier signal:
void | timeoutChanged(int timeout) |
成员函数
QInputChord::QInputChord(Qt3DCore::QNode *parent = nullptr)
Constructs a new QInputChord with parent parent.
void QInputChord::addChord(QAbstractActionInput *input)
Append the QAbstractActionInput input to the end of this QInputChord's chord vector.
参见 removeChord.
QVector<QAbstractActionInput *> QInputChord::chords() const
Returns the QInputChord's chord vector.
void QInputChord::removeChord(QAbstractActionInput *input)
Remove the QAbstractActionInput input from this QInputChord's chord vector.
参见 addChord.
[slot]
void QInputChord::setTimeout(int timeout)
Sets the time in which all QAbstractActionInput's in the input chord must triggered within to timeout. The time is in milliseconds
Note: Setter function for property timeout.
参见 timeout().