Attribute¶

The Attribute class stores an input method attribute. More…

Inheritance diagram of PySide2.QtGui.QInputMethodEvent.Attribute

Detailed Description¶

class PySide2.QtGui.QInputMethodEvent.Attribute(typ, s, l)¶

PySide2.QtGui.QInputMethodEvent.Attribute(typ, s, l, val)

PySide2.QtGui.QInputMethodEvent.Attribute(Attribute)

param l:

int

param Attribute:

PySide2.QtGui.QInputMethodEvent.Attribute

param typ:

AttributeType

param val:

object

param s:

int

This is an overloaded function.

Constructs an input method attribute with no value. type specifies the type of attribute, and start and length the position of the attribute.

Constructs an input method 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¶