The QInputMethodQueryEvent class provides an event sent by the input context to input objects. 更多...
| 头: | #include <QInputMethodQueryEvent> | 
| qmake: | QT += gui | 
| Since: | Qt 5.0 | 
| 继承: | QEvent | 
| QInputMethodQueryEvent (Qt::InputMethodQueries queries ) | |
| Qt::InputMethodQueries | queries () const | 
| void | setValue (Qt::InputMethodQuery query , const QVariant & value ) | 
| QVariant | value (Qt::InputMethodQuery query ) const | 
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
输入法使用它查询对象的一组特性,以便能够支持复杂输入法操作,作为对环绕文本和重新转换的支持。
queries () 指定查询哪些特性。
对象应该调用 setValue () 在事件以填充请求数据先于调用 accept ().
构造查询事件,为给定特性通过 queries .
返回通过事件查询特性。
设置特性 query to value .
另请参阅 value ().
返回值为特性 query .
另请参阅 setValue ().