本页内容

QInputMethodEvent::Attribute Class

class QInputMethodEvent::Attribute

QInputMethodEvent::Attribute 类用于存储输入法属性。更多内容...

公共函数

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

详细说明

成员函数文档

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

构建一个输入法属性。type 指定属性的类型,start 和length 指定属性的位置,value 指定属性的值。

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

创建一个没有值的输入法属性。type 指定属性的类型,start 和length 指定属性的位置。

这是一个重载函数。

© 2026 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.