Класс Attribute
(QInputMethodEvent::Attribute)Класс QInputMethodEvent::Attribute хранит атрибут метода ввода.
Подробнее...| Заголовок: | #include <Attribute> |
| qmake: | QT += gui |
Открытые функции
| Attribute(AttributeType type, int start, int length, QVariant value) | |
| Attribute(AttributeType type, int start, int length) |
Подробное описание
Класс QInputMethodEvent::Attribute хранит атрибут метода ввода.
Документация по функциям-членам
Attribute::Attribute(AttributeType type, int start, int length, QVariant value)
Создает атрибут метода ввода. type указывает тип атрибута, start и length — позицию атрибута, а value — значение атрибута.
Attribute::Attribute(AttributeType type, int start, int length)
Это перегруженная функция.
Создает атрибут метода ввода без значения. type указывает тип атрибута, а start и length — позицию атрибута.
Эта функция была добавлена в Qt 5.7.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.11/qinputmethodevent-attribute.html