Attribute#
The Attribute
class stores an input method attribute. More…
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:
l – int
val – object
s – int
typ –
AttributeType
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:
- Return type:
bool
- PySide6.QtGui.QInputMethodEvent.Attribute.__eq__(rhs)#
- Parameters:
- Return type:
bool