QInputSequence Class
(Qt3DInput::QInputSequence)QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other. More...
Header: | #include <QInputSequence> |
qmake: | QT += 3dinput |
Since: | Qt 5.7 |
Instantiated By: | InputSequence |
Inherits: | Qt3DInput::QAbstractActionInput |
Properties
- buttonInterval : int
- timeout : int
- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QInputSequence(Qt3DCore::QNode *parent = nullptr) | |
void | addSequence(Qt3DInput::QAbstractActionInput *input) |
int | buttonInterval() const |
void | removeSequence(Qt3DInput::QAbstractActionInput *input) |
QVector<Qt3DInput::QAbstractActionInput *> | sequences() const |
int | timeout() const |
- 13 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setButtonInterval(int buttonInterval) |
void | setTimeout(int timeout) |
- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | buttonIntervalChanged(int buttonInterval) |
void | timeoutChanged(int timeout) |
- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Additional Inherited Members
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Detailed Description
QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other.
Property Documentation
buttonInterval : int
The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.
Access functions:
int | buttonInterval() const |
void | setButtonInterval(int buttonInterval) |
Notifier signal:
void | buttonIntervalChanged(int buttonInterval) |
timeout : int
The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.
Access functions:
int | timeout() const |
void | setTimeout(int timeout) |
Notifier signal:
void | timeoutChanged(int timeout) |
Member Function Documentation
QInputSequence::QInputSequence(Qt3DCore::QNode *parent = nullptr)
Constructs a new QInputSequence with parent parent.
void QInputSequence::addSequence(Qt3DInput::QAbstractActionInput *input)
Append the QAbstractActionInput input to the end of this QInputSequence's sequence vector.
See also removeSequence.
int QInputSequence::buttonInterval() const
Returns the maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds
Note: Getter function for property buttonInterval.
See also setButtonInterval().
void QInputSequence::removeSequence(Qt3DInput::QAbstractActionInput *input)
Remove the QAbstractActionInput input from this QInputSequence's sequence vector.
See also addSequence.
QVector<Qt3DInput::QAbstractActionInput *> QInputSequence::sequences() const
Returns the QInputSequence's sequence vector.
int QInputSequence::timeout() const
Returns the time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds
Note: Getter function for property timeout.
See also setTimeout().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3dinput-qinputsequence.html