#include <knumvalidator.h>
Public Methods | |
| KFloatValidator (QWidget *parent, const char *name=0) | |
| KFloatValidator (double bottom, double top, QWidget *parent, const char *name=0) | |
| KFloatValidator (double bottom, double top, bool localeAware, QWidget *parent, const char *name=0) | |
| virtual | ~KFloatValidator () |
| virtual State | validate (QString &, int &) const |
| virtual void | fixup (QString &) const |
| virtual void | setRange (double bottom, double top) |
| virtual double | bottom () const |
| virtual double | top () const |
| void | setAcceptLocalizedNumbers (bool b) |
| bool | acceptLocalizedNumbers () const |
QValidator for floating point entry. Extends the QValidator class to properly validate double numeric data. This can be used by QLineEdit or subclass to provide validated text entry.
Definition at line 106 of file knumvalidator.h.
|
||||||||||||
|
Constructor. |
|
||||||||||||||||||||
|
Constructor. Also sets the minimum and maximum values. |
|
||||||||||||||||||||||||
|
Constructor. Sets the validator to be locale aware if |
|
|
Destructs the validator. |
|
|
Returns true if the validator is locale aware.
|
|
|
Returns the current minimum value allowed. |
|
|
Fixes the text if possible, providing a valid string. The parameter may be modified. |
|
|
Sets the validator to be locale aware if |
|
||||||||||||
|
Sets the minimum and maximum value allowed. |
|
|
Returns the current maximum value allowed. |
|
||||||||||||
|
Validates the text, and return the result. Does not modify the parameters. |
1.2.18