KDEUI
Go to the documentation of this file.
22 #ifndef KNUMVALIDATOR_H
23 #define KNUMVALIDATOR_H
27 #include <QtGui/QValidator>
60 virtual State validate (
QString &,
int & )
const;
64 virtual void fixup (
QString & )
const;
69 virtual void setRange (
int bottom,
int top );
73 virtual void setBase (
int base );
77 virtual int bottom ()
const;
81 virtual int top ()
const;
85 virtual int base ()
const;
88 class KIntValidatorPrivate;
89 KIntValidatorPrivate *
const d;
126 virtual State validate (
QString &,
int & )
const;
130 virtual void fixup (
QString & )
const;
134 virtual void setRange (
double bottom,
double top );
138 virtual double bottom ()
const;
142 virtual double top ()
const;
148 void setAcceptLocalizedNumbers(
bool b);
153 bool acceptLocalizedNumbers()
const;
156 class KFloatValidatorPrivate;
157 KFloatValidatorPrivate *
const d;
175 Q_PROPERTY(
bool acceptLocalizedNumbers READ acceptLocalizedNumbers WRITE setAcceptLocalizedNumbers )
191 virtual QValidator::State validate(
QString & input,
int & pos )
const;
194 bool acceptLocalizedNumbers()
const;
196 void setAcceptLocalizedNumbers(
bool accept );
200 class KDoubleValidatorPrivate;
201 KDoubleValidatorPrivate *
const d;
A locale-aware QDoubleValidator.
QValidator for floating point entry (Obsolete)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.