QInputMethodQueryEvent¶
The QInputMethodQueryEvent
class provides an event sent by the input context to input objects. More…
Synopsis¶
Functions¶
Detailed Description¶
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()
.
- class PySide6.QtGui.QInputMethodQueryEvent(queries)¶
PySide6.QtGui.QInputMethodQueryEvent(arg__1)
- Parameters
queries –
InputMethodQueries
arg__1 –
PySide6.QtGui.QInputMethodQueryEvent
Constructs a query event for properties given by queries
.
Constructs a query event for properties given by queries
.
- PySide6.QtGui.QInputMethodQueryEvent.queries()¶
- Return type
InputMethodQueries
Returns the properties queried by the event.
- PySide6.QtGui.QInputMethodQueryEvent.setValue(query, value)¶
- Parameters
query –
InputMethodQuery
value – object
Sets property query
to value
.
See also
- PySide6.QtGui.QInputMethodQueryEvent.value(query)¶
- Parameters
query –
InputMethodQuery
- Return type
object
Returns value of the property query
.
See also
© 2022 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.