QInputChord represents a set of QAbstractActionInput's that must be triggerd at once. More...
Header: | #include <QInputChord> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.7 |
Instantiated By: | InputChord |
Inherits: | Qt3DInput::QAbstractActionInput |
QInputChord(Qt3DCore::QNode *parent = nullptr) | |
void | addChord(Qt3DInput::QAbstractActionInput *input) |
QList<Qt3DInput::QAbstractActionInput *> | chords() const |
void | removeChord(Qt3DInput::QAbstractActionInput *input) |
int | timeout() const |
void | setTimeout(int timeout) |
void | timeoutChanged(int timeout) |
The time in which all QAbstractActionInput's in the input chord 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 QInputChord with parent parent.
[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.
See also timeout().
Append the QAbstractActionInput input to the end of this QInputChord's chord vector.
See also removeChord.
Returns the QInputChord's chord vector.
Remove the QAbstractActionInput input from this QInputChord's chord vector.
See also addChord.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: