Qt3DInput::QInputChord Class
class Qt3DInput::QInputChordQInputChord representa un conjunto de QAbstractActionInput's que deben ser disparados a la vez. Más...
| Cabecera: | #include <QInputChord> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput)target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| En QML: | InputChord |
| Hereda: | Qt3DInput::QAbstractActionInput |
| Status: | Obsoleto |
Propiedades
- timeout : int
Funciones públicas
| QInputChord(Qt3DCore::QNode *parent = nullptr) | |
| void | addChord(Qt3DInput::QAbstractActionInput *input) |
| QList<Qt3DInput::QAbstractActionInput *> | chords() const |
| void | removeChord(Qt3DInput::QAbstractActionInput *input) |
| int | timeout() const |
Ranuras públicas
| void | setTimeout(int timeout) |
Señales
| void | timeoutChanged(int timeout) |
Documentación de propiedades
timeout : int
El tiempo en el que deben dispararse todos los QAbstractActionInput's del acorde de entrada. El tiempo se expresa en milisegundos.
Funciones de acceso:
| int | timeout() const |
| void | setTimeout(int timeout) |
Señal del notificador:
| void | timeoutChanged(int timeout) |
Documentación de la función miembro
[explicit] QInputChord::QInputChord(Qt3DCore::QNode *parent = nullptr)
Construye un nuevo QInputChord con el padre parent.
void QInputChord::addChord(Qt3DInput::QAbstractActionInput *input)
Añade el QAbstractActionInput input al final del vector de acordes de este QInputChord.
Véase también removeChord.
QList<Qt3DInput::QAbstractActionInput *> QInputChord::chords() const
Devuelve el vector de cuerda de QInputChord.
void QInputChord::removeChord(Qt3DInput::QAbstractActionInput *input)
Elimina el QAbstractActionInput input de este QInputChord's chord vector.
Véase también addChord.
[slot] void QInputChord::setTimeout(int timeout)
Establece el tiempo en el que todos los QAbstractActionInput's en el acorde de entrada deben dispararse dentro de a timeout. El tiempo está en milisegundos
Nota: Función Setter para la propiedad timeout.
Véase también timeout().
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.