|
|
QValidator for integers.
This can be used by QLineEdit or subclass to provide validated text entry. Can be provided with a base value (default is 10), to allow the proper entry of hexadecimal, octal, or any other base numeric data.
| |
Constuctor. Also sets the base value.
| |
Constuctor. Also sets the minimum, maximum, and numeric base values.
| ~ |
[virtual]
Destructor.
| State |
[const virtual]
Validate the text, and return the result. Does not modify the paramaters.
| void |
[const virtual]
Fix the text if possible, providing a valid string. The parameter may be modified.
Reimplemented from QValidator
| void |
[virtual]
Set the minimum and maximum values allowed.
| void |
[virtual]
Set the numeric base value.
| int |
[const virtual]
Return the current minimum value allowed.
| int |
[const virtual]
Return the current maximum value allowed.
| int |
[const virtual]
Return the current numeric base.