QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Signals | Public Member Functions | Private Member Functions | List of all members
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

◆ 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

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: