Qt3DInput::QInputChord Class
class Qt3DInput::QInputChordQInputChordは、QAbstractActionInput の集合を表し、これらは一度にトリガーされる必要があります。詳細...
| ヘッダー: | #include <qinputchord.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| QML内: | InputChord |
| 継承元: | Qt3DInput::QAbstractActionInput |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- timeout : int
パブリック関数
| 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) |
プロパティのドキュメント
timeout : int
入力コード内のすべての QAbstractActionInput がトリガーされなければならない時間。単位はミリ秒です。
アクセス関数:
| int | timeout() const |
| void | setTimeout(int timeout) |
Notifierシグナル:
| void | timeoutChanged(int timeout) |
メンバ関数のドキュメント
[explicit] QInputChord::QInputChord(Qt3DCore::QNode *parent = nullptr)
親がparent である新しいQInputChordを作成します。
void QInputChord::addChord(Qt3DInput::QAbstractActionInput *input)
この `QInputChord` のコードベクトルの末尾に、`QAbstractActionInput`input を追加します。
removeChordも参照してください 。
QList<Qt3DInput::QAbstractActionInput *> QInputChord::chords() const
QInputChord の弦ベクトルを返します。
void QInputChord::removeChord(Qt3DInput::QAbstractActionInput *input)
この `QInputChord` のコードベクトルから、`QAbstractActionInput`input を削除します。
addChordも参照してください 。
[slot] void QInputChord::setTimeout(int timeout)
入力コード内のすべての QAbstractActionInput がトリガーされるまでの時間を、timeout に設定します。時間はミリ秒単位です。
注: プロパティ `timeout`のセッター 関数です。
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.