org.kde.koala
public class KDoubleValidator extends QDoubleValidator
See Also: KIntValidator
UNKNOWN: A locale-aware QDoubleValidator.
Constructor Summary | |
---|---|
protected | KDoubleValidator(Class dummy) |
KDoubleValidator(QObject parent, String name) Constuct a locale-aware KDoubleValidator with default range
(whatever QDoubleValidator uses for that) and parent parent @short Constuct a locale-aware KDoubleValidator with default range (whatever QDoubleValidator uses for that) and parent parent | |
KDoubleValidator(QObject parent) | |
KDoubleValidator(double bottom, double top, int decimals, QObject parent, String name) Constuct a locale-aware KDoubleValidator for range [ bottom ,top ] and a precision of decimals decimals after the decimal
point. | |
KDoubleValidator(double bottom, double top, int decimals, QObject parent) |
Method Summary | |
---|---|
boolean | acceptLocalizedNumbers() |
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
void | setAcceptLocalizedNumbers(boolean accept) Sets whether to accept localized numbers (default: true) @short Sets whether to accept localized numbers (default: true) |
int | validate(StringBuffer input, int[] pos) Overloaded for internal reasons. |
parent
@short Constuct a locale-aware KDoubleValidator with default range (whatever QDoubleValidator uses for that) and parent parent
bottom
,top
] and a precision of decimals
decimals after the decimal
point. @short Constuct a locale-aware KDoubleValidator for range [bottom
,top
] and a precision of decimals
decimals after the decimal point.Returns: whether localized numbers are accepted (default: true) @short @return whether localized numbers are accepted (default: true)