QInputSettings Class
class Qt3DInput::QInputSettingsQInputSettingsクラスは、入力イベント・ソース・オブジェクトへのポインタを保持します。詳細...
ヘッダー | #include <QInputSettings> |
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も参照してください 。
© 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.