QInputChord Class
class Qt3DInput::QInputChordQInputChordは、一度にトリガーされなければならないQAbstractActionInput'のセットを表します。さらに...
ヘッダー | #include <QInputChord> |
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)
親を持つ新しい QInputChord を構築するparent 。
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'sがtimeout 以内にトリガされなければならない時間を設定する。
注: プロパティtimeout のセッター関数。
timeout()も参照のこと 。
© 2025 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.