Qt3DInput::QInputChord Class
class Qt3DInput::QInputChordQInputChord rappresenta un insieme di " QAbstractActionInput" che devono essere attivati contemporaneamente. Per saperne di più...
| Intestazione: | #include <qinputchord.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| In QML: | InputChord |
| Eredita da: | Qt3DInput::QAbstractActionInput |
| Stato: | Obsoleta |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
- timeout : int
Funzioni pubbliche
| QInputChord(Qt3DCore::QNode *parent = nullptr) | |
| void | addChord(Qt3DInput::QAbstractActionInput *input) |
| QList<Qt3DInput::QAbstractActionInput *> | chords() const |
| void | removeChord(Qt3DInput::QAbstractActionInput *input) |
| int | timeout() const |
Slot pubblici
| void | setTimeout(int timeout) |
Segnali
| void | timeoutChanged(int timeout) |
Documentazione delle proprietà
timeout : int
Il tempo entro il quale devono essere attivati tutti gli oggetti `QAbstractActionInput` presenti nella sequenza di input. Il tempo è espresso in millisecondi.
Funzioni di accesso:
| int | timeout() const |
| void | setTimeout(int timeout) |
Segnale Notifier:
| void | timeoutChanged(int timeout) |
Documentazione delle funzioni membro
[explicit] QInputChord::QInputChord(Qt3DCore::QNode *parent = nullptr)
Crea un nuovo oggetto QInputChord con oggetto padre parent.
void QInputChord::addChord(Qt3DInput::QAbstractActionInput *input)
Aggiungi l'input e `QAbstractActionInput` alla fine del vettore di accordi di questo QInputChord.
Vedi anche removeChord.
QList<Qt3DInput::QAbstractActionInput *> QInputChord::chords() const
Restituisce il vettore delle corde dell'QInputChord.
void QInputChord::removeChord(Qt3DInput::QAbstractActionInput *input)
Rimuovere l'input QAbstractActionInput dal vettore di accordi di questo QInputChord.
Vedi anche addChord.
[slot] void QInputChord::setTimeout(int timeout)
Imposta il tempo entro il quale tutti gli oggetti `QAbstractActionInput` presenti nella sequenza di input devono essere attivati, pari a ` timeout`. Il tempo è espresso in millisecondi
Nota: funzionesetter per la proprietà ` timeout`.
Vedi anche ` 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.