内容表

上一话题

QInputMethodEvent

下一话题

QIntValidator

QInputMethodQueryEvent

QInputMethodQueryEvent class provides an event sent by the input context to input objects. 更多

Inheritance diagram of PySide2.QtGui.QInputMethodQueryEvent

概要

函数

详细描述

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 QInputMethodQueryEvent ( queries )
param queries

InputMethodQueries

构造查询事件,为给定特性通过 queries .

PySide2.QtGui.QInputMethodQueryEvent. queries ( )
返回类型

InputMethodQueries

返回通过事件查询特性。

PySide2.QtGui.QInputMethodQueryEvent. setValue ( query , value )
参数
  • query InputMethodQuery

  • value – object

设置特性 query to value .

另请参阅

value()

PySide2.QtGui.QInputMethodQueryEvent. value ( query )
参数

query InputMethodQuery

返回类型

object

返回值为特性 query .

另请参阅

setValue()