The QInputMethodQueryEvent class provides an event sent by the input context to input objects. More...
Header: | #include <QInputMethodQueryEvent> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Since: | Qt 5.0 |
Inherits: | QEvent |
QInputMethodQueryEvent(Qt::InputMethodQueries queries) | |
Qt::InputMethodQueries | queries() const |
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.
The object should call setValue() on the event to fill in the requested data before calling accept().
Constructs a query event for properties given by queries.
Returns the properties queried by the event.
Sets property query to value.
See also value().
Returns value of the property query.
See also setValue().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qinputmethodqueryevent.html