Qt Reference Documentation

QML DoubleValidator Element

DoubleValidator instantiates the C++ class QDoubleValidator

  • List of all members, including inherited members
  • Properties

    Detailed Description

    This element provides a validator for non-integer numbers.

    Property Documentation

    bottom : real

    This property holds the validator's minimum acceptable value. By default, this property contains a value of -infinity.


    decimals : int

    This property holds the validator's maximum number of digits after the decimal point. By default, this property contains a value of 1000.


    notation : enumeration

    This property holds the notation of how a string can describe a number.

    The possible values for this property are:

    If this property is set to DoubleValidator.ScientificNotation, the written number may have an exponent part (e.g. 1.5E-2).


    top : real

    This property holds the validator's maximum acceptable value. By default, this property contains a value of infinity.


    X

    Thank you for giving your feedback.

    Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

    [0]; s.parentNode.insertBefore(ga, s); })();