Attribute 類

class QInputMethodEvent ::Attribute

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

公共函數

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

詳細描述

成員函數文檔編製

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

這是重載函數。

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

該函數在 Qt 5.7 引入。

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

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