Attribute#

The Attribute class stores an input method attribute. More

Inheritance diagram of PySide6.QtGui.QInputMethodEvent.Attribute

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtGui.QInputMethodEvent.Attribute(typ, s, l)#

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

Parameters:

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.

PySide6.QtGui.QInputMethodEvent.Attribute.type#
PySide6.QtGui.QInputMethodEvent.Attribute.start#
PySide6.QtGui.QInputMethodEvent.Attribute.length#
PySide6.QtGui.QInputMethodEvent.Attribute.value#
PySide6.QtGui.QInputMethodEvent.Attribute.__ne__(rhs)#
Parameters:

rhsPySide6.QtGui.QInputMethodEvent.Attribute

Return type:

bool

PySide6.QtGui.QInputMethodEvent.Attribute.__eq__(rhs)#
Parameters:

rhsPySide6.QtGui.QInputMethodEvent.Attribute

Return type:

bool