QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
QETRegExpValidator Class Reference

#include <qetregexpvalidator.h>

Inherits QRegularExpressionValidator.

Collaboration diagram for QETRegExpValidator:
Collaboration graph

Signals

void validationFailed () const

Public Member Functions

 QETRegExpValidator (QObject *)
 QETRegExpValidator (const QRegularExpression &, QObject *)
 ~QETRegExpValidator () override
QValidator::State validate (QString &, int &) const override

Private Member Functions

 QETRegExpValidator (const QETRegExpValidator &)

Detailed Description

This class acts like a QRegularExpressionValidator except it emits a signal when the input validation fails.

Constructor & Destructor Documentation

◆ QETRegExpValidator() [1/3]

QETRegExpValidator::QETRegExpValidator ( QObject * parent)

Constructeur

Parameters
parentQObject parent
Here is the caller graph for this function:

◆ QETRegExpValidator() [2/3]

QETRegExpValidator::QETRegExpValidator ( const QRegularExpression & regexp,
QObject * parent )

Constructeur

Parameters
regexpExpression reguliere a valider
parentQObject parent

◆ ~QETRegExpValidator()

QETRegExpValidator::~QETRegExpValidator ( )
override

Destructeur

◆ QETRegExpValidator() [3/3]

QETRegExpValidator::QETRegExpValidator ( const QETRegExpValidator & )
private
Here is the call graph for this function:

Member Function Documentation

◆ validate()

QValidator::State QETRegExpValidator::validate ( QString & input,
int & pos ) const
override
See also
QRegularExpressionValidator::validate
validationFailed() Emet le signal validationFailed si la validation echoue
Here is the call graph for this function:

◆ validationFailed

void QETRegExpValidator::validationFailed ( ) const
signal
Here is the caller graph for this function:

The documentation for this class was generated from the following files: