Attribute Class

(QInputMethodEvent::Attribute)

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

Header: #include <Attribute>
qmake: QT += gui

Public Functions

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

Detailed Description

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

Member Function Documentation

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.

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.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.