diff options
-rw-r--r-- | src/quick/util/qquickvalidator.cpp | 6 | ||||
-rw-r--r-- | src/quicktemplates2/qquickspinbox.cpp | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/quick/util/qquickvalidator.cpp b/src/quick/util/qquickvalidator.cpp index c309460263..7e93d87555 100644 --- a/src/quick/util/qquickvalidator.cpp +++ b/src/quick/util/qquickvalidator.cpp @@ -56,6 +56,8 @@ QT_BEGIN_NAMESPACE interpret the number and will accept locale specific digits, group separators, and positive and negative signs. In addition, IntValidator is always guaranteed to accept a number formatted according to the "C" locale. + + \sa DoubleValidator, RegularExpressionValidator, {Validating Input Text} */ QQuickIntValidator::QQuickIntValidator(QObject *parent) @@ -131,6 +133,8 @@ void QQuickIntValidator::resetLocaleName() it is also rejected. If \l notation is DoubleValidator.ScientificNotation, and the input is not in the valid range, it is accecpted but invalid. The value may yet become valid by changing the exponent. + + \sa IntValidator, RegularExpressionValidator, {Validating Input Text} */ QQuickDoubleValidator::QQuickDoubleValidator(QObject *parent) @@ -210,6 +214,8 @@ void QQuickDoubleValidator::resetLocaleName() The RegularExpressionValidator type provides a validator, that counts as valid any string which matches a specified regular expression. + + \sa IntValidator, DoubleValidator, {Validating Input Text} */ /*! \qmlproperty regularExpression QtQuick::RegularExpressionValidator::regularExpression diff --git a/src/quicktemplates2/qquickspinbox.cpp b/src/quicktemplates2/qquickspinbox.cpp index dbf5738b77..d1990a4227 100644 --- a/src/quicktemplates2/qquickspinbox.cpp +++ b/src/quicktemplates2/qquickspinbox.cpp @@ -595,7 +595,8 @@ void QQuickSpinBox::setEditable(bool editable) } \endcode - \sa editable, textFromValue, valueFromText, {Control::locale}{locale} + \sa editable, textFromValue, valueFromText, {Control::locale}{locale}, + {Validating Input Text} */ QValidator *QQuickSpinBox::validator() const { |