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

IntValidator QML Type

Defines a validator for integer values.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

IntValidator QML Type

  • Import Statement: import QtQuick

  • Instantiates:: QIntValidator

  • Group: IntValidator is part of qtquick-text-utility, qtquick-text-validators

Detailed Description

The IntValidator type provides a validator for integer values.

If no locale is set IntValidator uses the default locale to interpret the number and will accept locale specific digits, group separators, and positive and negative signs. In addition, IntValidator is always guaranteed to accept a number formatted according to the "C" locale.

See Also

Property Documentation

 

bottom : int

This property holds the validator's lowest acceptable value. By default, this property's value is derived from the lowest signed integer available (typically -2147483647).

locale : string

This property holds the name of the locale used to interpret the number.

See Also

See also Qt.locale()

top : int

This property holds the validator's highest acceptable value. By default, this property's value is derived from the highest signed integer available (typically 2147483647).

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