|
|
KFloatValidator ( QWidget * parent, const char * name = 0 )
| KFloatValidator |
Constructor.
KFloatValidator ( double bottom, double top, QWidget * parent, const char * name = 0 )
| KFloatValidator |
Constructor. Also sets the minimum and maximum values.
KFloatValidator ( double bottom, double top, bool localeAware, QWidget * parent, const char * name = 0 )
| KFloatValidator |
Constructor. Sets the validator to be locale aware if localeAware
is true.
~KFloatValidator ()
| ~KFloatValidator |
[virtual]
Destructs the validator.
State validate ( QString &, int & )
| validate |
[const virtual]
Validates the text, and return the result. Does not modify the parameters.
void fixup ( QString & )
| fixup |
[const virtual]
Fixes the text if possible, providing a valid string. The parameter may be modified.
void setRange ( double bottom, double top )
| setRange |
[virtual]
Sets the minimum and maximum value allowed.
double bottom ()
| bottom |
[const virtual]
Returns the current minimum value allowed.
double top ()
| top |
[const virtual]
Returns the current maximum value allowed.
void setAcceptLocalizedNumbers (bool b)
| setAcceptLocalizedNumbers |
Sets the validator to be locale aware if is
true. In this case, the
character KLocale::decimalSymbol() from the global locale is recognized
as decimal separator.
bool acceptLocalizedNumbers ()
| acceptLocalizedNumbers |
[const]
Returns true if the validator is locale aware.
See also: setAcceptLocalizedNumbers().
Generated by: dfaure on faure on Tue Apr 16 08:49:25 2002, using kdoc 2.0a53. |