The QInputMethodQueryEvent class provides an event sent by the input context to input objects. More...
|qmake:||QT += gui|
This class was introduced in Qt 5.0.
|void||setValue(Qt::InputMethodQuery query, const QVariant &value)|
|QVariant||value(Qt::InputMethodQuery query) const|
It is used by the input method to query a set of properties of the object to be able to support complex input method operations as support for surrounding text and reconversions.
queries() specifies which properties are queried.
Member Function Documentation
Constructs a query event for properties given by queries.
Qt::InputMethodQueries QInputMethodQueryEvent::queries() const
Returns the properties queried by the event.
void QInputMethodQueryEvent::setValue(Qt::InputMethodQuery query, const QVariant &value)
Sets property query to value.
See also value().
QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const
Returns value of the property query.
See also setValue().
© 2021 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.