QInputMethodQueryEventclass provides an event sent by the input context to input objects. 更多 …
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 callingaccept().
QInputMethodQueryEvent
(
queries
)
¶
- param queries
InputMethodQueries
构造查询事件,为给定特性通过
queries
.
PySide2.QtGui.QInputMethodQueryEvent.
queries
(
)
¶
InputMethodQueries
返回通过事件查询特性。
PySide2.QtGui.QInputMethodQueryEvent.
setValue
(
query
,
value
)
¶
query
–
InputMethodQuery
value – object
设置特性
query
to
value
.
另请参阅
PySide2.QtGui.QInputMethodQueryEvent.
value
(
query
)
¶
query
–
InputMethodQuery
object
返回值为特性
query
.
另请参阅