Attribute 類

( QInputMethodEvent::Attribute )

The QInputMethodEvent::Attribute 類存儲輸入法屬性。 更多...

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

公共函數

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

詳細描述

The QInputMethodEvent::Attribute 類存儲輸入法屬性。

成員函數文檔編製

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

構造輸入法屬性。 type 指定屬性的類型, start and length 屬性的位置,和 value 屬性的值。

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

這是重載函數。

構造沒有值的輸入法屬性。 type 指定屬性的類型,和 start and length 屬性的位置。

該函數在 Qt 5.7 引入。