DoubleValidator QML Element

Instantiates: QDoubleValidator

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.


© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.