RegExpValidator Element Reference

[RegExpValidator instantiates the C++ class QRegExpValidator]

Detailed Description

This element provides a validator, which counts as valid any string which matches a specified regular expression.

See also QRegExp, QIntValidator, QDoubleValidator, and Settings Editor Example.


Property Documentation

This property holds the regular expression used for validation.

Note that this property should be a regular expression in JS syntax, e.g /a/ for the regular expression matching "a".

By default, this property contains a regular expression with the pattern .* that matches any string.

Notes provided by the Qt Community

No notes