8#include <QtGui/qtguiglobal.h>
9#include <QtCore/qobject.h>
10#include <QtCore/qstring.h>
11#if QT_CONFIG(regularexpression)
12# include <QtCore/qregularexpression.h>
14#include <QtCore/qlocale.h>
19#ifndef QT_NO_VALIDATOR
37 void setLocale(
const QLocale &locale);
41 virtual void fixup(
QString &)
const;
74 int top()
const {
return t; }
93 Q_PROPERTY(
int decimals READ decimals WRITE setDecimals NOTIFY decimalsChanged)
111 void setBottom(
double);
113 void setDecimals(
int);
114 void setNotation(Notation);
117 double top()
const {
return t; }
119 Notation notation()
const;
136#if QT_CONFIG(regularexpression)
138class QRegularExpressionValidatorPrivate;
140class Q_GUI_EXPORT QRegularExpressionValidator :
public QValidator
146 explicit QRegularExpressionValidator(
QObject *
parent =
nullptr);
148 ~QRegularExpressionValidator();
161 Q_DISABLE_COPY(QRegularExpressionValidator)
162 Q_DECLARE_PRIVATE(QRegularExpressionValidator)
The QDoubleValidator class provides range checking of floating-point numbers.
void bottomChanged(double bottom)
This signal is emitted after the bottom property changed.
void decimalsChanged(int decimals)
This signal is emitted after the decimals property changed.
void notationChanged(QDoubleValidator::Notation notation)
This signal is emitted after the notation property changed.
void topChanged(double top)
This signal is emitted after the top property changed.
The QIntValidator class provides a validator that ensures a string contains a valid integer within a ...
void topChanged(int top)
This signal is emitted after the top property changed.
void bottomChanged(int bottom)
This signal is emitted after the bottom property changed.
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QValidator class provides validation of input text.
State
This enum type defines the states in which a validated string can exist.
virtual State validate(QString &, int &) const =0
This virtual function returns \l Invalid if input is invalid according to this validator's rules,...
void changed()
This signal is emitted when any property that may affect the validity of a string has changed.
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLdouble GLdouble GLdouble GLdouble top
GLenum GLenum GLenum input
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent