Qt Virtual Keyboard C++ Classes
仮想キーボード用の入力メソッドを実装するクラスを提供する。詳細...
名前空間
仮想キーボードクラスが使用する列挙型を含みます。 |
クラス
入力メソッドの基底クラス | |
仮想キーボード入力メソッド用のアプリケーション定義辞書 | |
アプリケーション定義辞書の辞書管理 | |
入力コンテキストへのアクセスを提供します。 | |
InputEngineクラスは、C++とQMLの統合をサポートする入力エンジンを提供します。 | |
キーボードイベント通知のハブとして機能します。 | |
選択リスト用のリストモデル | |
Traceはタッチ入力データのデータモデルです。 |
詳細説明
モジュールのクラス定義をインクルードするには、以下のディレクティブを使用します:
#include <QtVirtualKeyboard>
モジュールの使用
Qt モジュールを使用するには、モジュールライブラリを直接リンクするか、他の依存関係を通してリンクする必要があります。CMakeや qmakeなど、いくつかのビルドツールはこのための専用サポートを持っています。
CMake でのビルド
find_package()
コマンドを使って、Qt6
パッケージの中から必要なモジュールコンポーネントを探します:
find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard) target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)
詳しくはGetting started with CMakeを参照してください。
qmakeでビルドする
このモジュールにリンクするには、qmake.pro
ファイルに以下の行を追加してください:
QT += virtualkeyboard
© 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.