4 #ifndef BPSMASKVALIDATOR_H
5 #define BPSMASKVALIDATOR_H
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
This class implements the BPS mask validator for input text.
Definition: bpsmaskvalidator.h:16
int minLength() const
Returns the minimum input length (including fillers)
BpsMaskValidator(const QString &aMask, QObject *aParent)
BpsMaskValidator(QObject *aParent)
int maxLength() const
Returns the maximum input length (including fillers)
void setMask(const QString &aMask)
Set the new mask.
virtual void fixup(QString &input) const const
virtual QValidator::State validate(QString &input, int &pos) const const=0