Qt3DInput::QInputSettings Class
class Qt3DInput::QInputSettingsQInputSettings クラスは、入力イベントソースオブジェクトへのポインタを保持します。詳細...
| ヘッダー: | #include <qinputsettings.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| QML内: | InputSettings |
| 継承元: | Qt3DCore::QComponent |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- eventSource : QObject*
パブリック関数
| QObject * | eventSource() const |
パブリックスロット
| void | setEventSource(QObject *eventSource) |
シグナル
| void | eventSourceChanged(QObject *) |
詳細な説明
QInputSettings コンポーネントは、シーンのルートエンティティのコンポーネントとして設定する必要があります。このコンポーネントは、さまざまな入力クラスによって処理される入力イベントの発生元となるオブジェクトへのポインタを保持します。たとえば、QWindow のインスタンスがイベントの発生元となる場合があります。
「 QMouseDevice 」および「QKeyboardDevice 」も参照してください 。
© 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.