QKeyboardDevice Class
class Qt3DInput::QKeyboardDeviceQKeyboardDeviceはキーボードイベントをQQKeyboardHandlerオブジェクトにディスパッチします。詳細...
ヘッダー | #include <QKeyboardDevice> |
CMakeの | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake | QT += 3dinput |
QML で | KeyboardDevice |
を継承しています: | Qt3DInput::QAbstractPhysicalDevice |
ステータス | 非推奨 |
プロパティ
- activeInput : Qt3DInput::QKeyboardHandler* const
パブリック関数
QKeyboardDevice(Qt3DCore::QNode *parent = nullptr) | |
Qt3DInput::QKeyboardHandler * | activeInput() const |
再実装パブリック関数
virtual int | axisCount() const override |
virtual int | axisIdentifier(const QString &name) const override |
virtual QStringList | axisNames() const override |
virtual int | buttonCount() const override |
virtual int | buttonIdentifier(const QString &name) const override |
virtual QStringList | buttonNames() const override |
シグナル
void | activeInputChanged(Qt3DInput::QKeyboardHandler *activeInput) |
プロパティの説明
[read-only]
activeInput : Qt3DInput::QKeyboardHandler* const
デバイスのアクティブなQKeyboardHandler を保持します。
アクセス機能:
Qt3DInput::QKeyboardHandler * | activeInput() const |
通知シグナル:
void | activeInputChanged(Qt3DInput::QKeyboardHandler *activeInput) |
メンバー関数ドキュメント
[explicit]
QKeyboardDevice::QKeyboardDevice(Qt3DCore::QNode *parent = nullptr)
新しい QKeyboardDevice インスタンスをparent で構築します。
[override virtual]
int QKeyboardDevice::axisCount() const
再実装:QAbstractPhysicalDevice::axisCount() const.
軸カウントを返します。
注意: 現在は常にゼロを返します。
[override virtual]
int QKeyboardDevice::axisIdentifier(const QString &name) const
再実装:QAbstractPhysicalDevice::axisIdentifier(const QString &name) const.
name に一致する axisIdentifier を返します。
[override virtual]
QStringList QKeyboardDevice::axisNames() const
再実装:QAbstractPhysicalDevice::axisNames() const.
軸名を返す。
注意: 現在は常に空のQStringList を返します。
[override virtual]
int QKeyboardDevice::buttonCount() const
再実装:QAbstractPhysicalDevice::buttonCount() const.
ボタン数を返します。
[override virtual]
int QKeyboardDevice::buttonIdentifier(const QString &name) const
再実装:QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const.
name にマッチする buttonIdentifier を返します。
[override virtual]
QStringList QKeyboardDevice::buttonNames() const
再実装:QAbstractPhysicalDevice::buttonNames() const.
ボタン名を返します。
© 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.