属性类存储输入法属性。 更多 …
PySide2.QtGui.QInputMethodEvent.
属性
(
typ
,
s
,
l
)
¶
PySide2.QtGui.QInputMethodEvent.Attribute(typ, s, l, val)
PySide2.QtGui.QInputMethodEvent.Attribute(Attribute)
- param l
int- param Attribute
属性- param typ
AttributeType- param val
object
- param s
int
这是重载函数。
Constructs an input method attribute with no value.
type
specifies the type of attribute, and
start
and
length
the position of the attribute.
构造输入法属性。
type
specifies the type of attribute,
start
and
length
the position of the attribute, and
value
the value of the attribute.
PySide2.QtGui.QInputMethodEvent.Attribute.
type
¶
PySide2.QtGui.QInputMethodEvent.Attribute.
start
¶
PySide2.QtGui.QInputMethodEvent.Attribute.
length
¶
PySide2.QtGui.QInputMethodEvent.Attribute.
value
¶