W3cubDocs

/Qt 5.13

Attribute Class

Class Attribute is declared in class QInputMethodEvent.

The QInputMethodEvent::Attribute class stores an input method attribute. More...

Public Functions

Attribute(AttributeType type, int start, int length)
Attribute(AttributeType type, int start, int length, QVariant value)

Detailed Description

Member Function Documentation

Attribute::Attribute(AttributeType type, int start, int length)

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.

This function was introduced in Qt 5.7.

Attribute::Attribute(AttributeType type, int start, int length, QVariant value)

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.13/qinputmethodevent-attribute.html