QElectroTech  0.8-dev
Signals | Public Member Functions | Private Member Functions | List of all members
QETRegExpValidator Class Reference

#include <qetregexpvalidator.h>

Inherits QRegExpValidator.

Collaboration diagram for QETRegExpValidator:
Collaboration graph

Signals

void validationFailed () const
 

Public Member Functions

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

Private Member Functions

 QETRegExpValidator (const QETRegExpValidator &)
 

Detailed Description

This class acts like a QRegExpValidator 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 QRegExp &  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
QRegExpValidator::validate
validationFailed() Emet le signal validationFailed si la validation echoue

◆ 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: