IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Attribute Class

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

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Attribute Class

  • Header: Attribute

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

Detailed Description

 

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.

[since 5.7] 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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+