44 #include <QtGui/qtguiglobal.h>
45 #include <QtCore/qobject.h>
46 #include <QtCore/qstring.h>
47 #if QT_CONFIG(regularexpression)
48 # include <QtCore/qregularexpression.h>
50 #include <QtCore/qlocale.h>
55 #ifndef QT_NO_VALIDATOR
73 void setLocale(
const QLocale &locale);
77 virtual void fixup(
QString &)
const;
129 Q_PROPERTY(
int decimals READ decimals WRITE setDecimals NOTIFY decimalsChanged)
147 void setBottom(
double);
149 void setDecimals(
int);
150 void setNotation(Notation);
153 double top()
const {
return t; }
155 Notation notation()
const;
172 #if QT_CONFIG(regularexpression)
174 class QRegularExpressionValidatorPrivate;
176 class Q_GUI_EXPORT QRegularExpressionValidator :
public QValidator
182 explicit QRegularExpressionValidator(
QObject *
parent =
nullptr);
184 ~QRegularExpressionValidator();
198 Q_DECLARE_PRIVATE(QRegularExpressionValidator)
The QDoubleValidator class provides range checking of floating-point numbers. \inmodule QtGui.
void bottomChanged(double bottom)
void decimalsChanged(int decimals)
void notationChanged(QDoubleValidator::Notation notation)
void topChanged(double top)
The QIntValidator class provides a validator that ensures a string contains a valid integer within a ...
void bottomChanged(int bottom)
The QObject class is the base class of all Qt objects.
The QRegularExpression class provides pattern matching using regular expressions.
The QString class provides a Unicode character string.
The QValidator class provides validation of input text. \inmodule QtGui.
virtual State validate(QString &, int &) const =0
#define Q_DISABLE_COPY(Class)
GLboolean GLboolean GLboolean b
GLdouble GLdouble GLdouble GLdouble top
GLenum GLenum GLenum input
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent