class KFloatValidator
|
QValidator for floating point entry. More... |
|
|
Public Methods
Protected Members
Detailed Description
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.
KFloatValidator ( QWidget * parent, const char * name = 0 )
|
Constuctor.
KFloatValidator ( double bottom, double top, QWidget * parent, const char * name = 0 )
|
Constuctor. Also sets the minimum and maximum values.
[virtual]
Destructor.
State validate ( QString &, int & )
|
[const virtual]
Validate the text, and return the result. Does not modify the paramaters.
[const virtual]
Fix the text if possible, providing a valid string. The parameter may be modified.
void setRange ( double bottom, double top )
|
[virtual]
Set the minimum and maximum value allowed.
[const virtual]
Return the current minimum value allowed.
[const virtual]
Return the current maximum value allowed.
- Version: 0.0.1
- Author: Glen Parker <glenebob@nwlink.com>
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.