QInputMethodQueryEvent Class
QInputMethodQueryEvent クラスは、入力コンテキストから入力オブジェクトに送信されるイベントを提供します。詳細...
ヘッダー | #include <QInputMethodQueryEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
継承: | QEvent |
パブリック関数
QInputMethodQueryEvent(Qt::InputMethodQueries queries) | |
Qt::InputMethodQueries | queries() const |
void | setValue(Qt::InputMethodQuery query, const QVariant &value) |
QVariant | value(Qt::InputMethodQuery query) const |
詳細説明
入力メソッドがオブジェクトのプロパティのセットを問い合わせるために使用され、テキストを囲んだり、再変換をサポートするような複雑な入力メソッド操作をサポートできるようにします。
queries() は、どのプロパティを問い合わせるかを指定する。
オブジェクトは、accept ()を呼び出す前に、要求されたデータを埋めるために、イベント上でsetValue ()を呼び出す必要があります。
メンバ関数ドキュメント
[explicit]
QInputMethodQueryEvent::QInputMethodQueryEvent(Qt::InputMethodQueries queries)
queries で与えられたプロパティに対するクエリイベントを構築します。
Qt::InputMethodQueries QInputMethodQueryEvent::queries() const
イベントによって照会されたプロパティを返します。
void QInputMethodQueryEvent::setValue(Qt::InputMethodQuery query, const QVariant &value)
プロパティquery をvalue に設定する。
value()も参照してください 。
QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const
query プロパティの値を返す。
setValue()も参照 。
© 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.