The QDoubleValidator class provides range checking of floating-point numbers. More...
#include <qvalidator.h>
Inherits QValidator.
QDoubleValidator provides an upper bound, a lower bound, and a limit on the number of digits after the decimal point. It does not provide a fixup() function.
See also: QIntValidator.
Creates a validator object which accepts all double from 2.7182818 to 3.1415926 (please, no bug reports) with at most seven digits after the decimal point.
This constructor is not meant to be useful; it is provided for completeness.
Creates a validator object which accepts all doubles from bottom up to and including top with at most decimals digits after the decimal point.
Deletes the validator and frees any storage and other resources used.
Returns the lowest valid number according to this validator.
See also: top(), decimals() and setRange().
Returns the largest number of digits a valid number can have after its decimal point.
See also: bottom(), top() and setRange().
[virtual]
Sets the validator to accept numbers from bottom up to and including top with at most decimals digits after the decimal point.
Returns the highest valid number according to this validator.
See also: bottom(), decimals and setRange().
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-98 Troll Tech, all rights reserved.
It was generated from the following files:
Copyright İ 1998 Troll Tech | Trademarks | Qt version 1.42
|