QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other. More...
Header: | #include <QInputSequence> |
CMake: | find_package(Qt6 COMPONENTS 3dinput REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.7 |
Instantiated By: | InputSequence |
Inherits: | Qt3DInput::QAbstractActionInput |
QInputSequence(Qt3DCore::QNode *parent = nullptr) | |
void | addSequence(Qt3DInput::QAbstractActionInput *input) |
int | buttonInterval() const |
void | removeSequence(Qt3DInput::QAbstractActionInput *input) |
QList<Qt3DInput::QAbstractActionInput *> | sequences() const |
int | timeout() const |
void | setButtonInterval(int buttonInterval) |
void | setTimeout(int timeout) |
void | buttonIntervalChanged(int buttonInterval) |
void | timeoutChanged(int timeout) |
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) |
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) |
Constructs a new QInputSequence with parent parent.
Append the QAbstractActionInput input to the end of this QInputSequence's sequence vector.
See also removeSequence.
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().
Remove the QAbstractActionInput input from this QInputSequence's sequence vector.
See also addSequence.
Returns the QInputSequence's sequence vector.
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-6.2/qt3dinput-qinputsequence.html